Browse Source

don't force bin override; allow binning in render2d

David Rose 23 years ago
parent
commit
43a233d473
1 changed files with 1 additions and 3 deletions
  1. 1 3
      panda/src/pgui/pgTop.cxx

+ 1 - 3
panda/src/pgui/pgTop.cxx

@@ -45,9 +45,7 @@ PGTop(const string &name) :
   // will be unsorted: rendered in scene graph order.  This is closer
   // to what the user wants anyway in a 2-d scene graph.
 
-  // This override of 1000 should really be a system constant
-  // somewhere.
-  set_attrib(CullBinAttrib::make("unsorted", 0), 1000);
+  set_attrib(CullBinAttrib::make("unsorted", 0));
 }
 
 ////////////////////////////////////////////////////////////////////