Explorar el Código

don't force bin override; allow binning in render2d

David Rose hace 23 años
padre
commit
43a233d473
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  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));
 }
 
 ////////////////////////////////////////////////////////////////////