浏览代码

don't force bin override; allow binning in render2d

David Rose 23 年之前
父节点
当前提交
43a233d473
共有 1 个文件被更改,包括 1 次插入3 次删除
  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
   // will be unsorted: rendered in scene graph order.  This is closer
   // to what the user wants anyway in a 2-d scene graph.
   // 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));
 }
 }
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////