Ver código fonte

make_window() should be public

David Rose 16 anos atrás
pai
commit
bbddefa885

+ 1 - 1
panda/src/framework/windowFramework.cxx

@@ -1131,7 +1131,7 @@ get_shuttle_controls_font() {
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 //     Function: WindowFramework::make_camera
 //     Function: WindowFramework::make_camera
-//       Access: Protected
+//       Access: Public
 //  Description: Makes a new 3-d camera for the window.
 //  Description: Makes a new 3-d camera for the window.
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 NodePath WindowFramework::
 NodePath WindowFramework::

+ 1 - 1
panda/src/framework/windowFramework.h

@@ -136,9 +136,9 @@ public:
   INLINE BackgroundType get_background_type() const;
   INLINE BackgroundType get_background_type() const;
 
 
   static TextFont *get_shuttle_controls_font();
   static TextFont *get_shuttle_controls_font();
+  NodePath make_camera();
 
 
 protected:
 protected:
-  NodePath make_camera();
   void setup_lights();
   void setup_lights();
 
 
 private:
 private: