mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
don't force bin override; allow binning in render2d
This commit is contained in:
parent
9f3838fd5e
commit
43a233d473
@ -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
|
set_attrib(CullBinAttrib::make("unsorted", 0));
|
||||||
// somewhere.
|
|
||||||
set_attrib(CullBinAttrib::make("unsorted", 0), 1000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user