Browse Source

make_window() should be public

David Rose 16 years ago
parent
commit
bbddefa885
2 changed files with 2 additions and 2 deletions
  1. 1 1
      panda/src/framework/windowFramework.cxx
  2. 1 1
      panda/src/framework/windowFramework.h

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

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

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

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