Merge branch 'topic/pu-crash'
This commit is contained in:
commit
0d9f2e3c95
1 changed files with 2 additions and 0 deletions
|
@ -139,6 +139,7 @@ public:
|
||||||
{
|
{
|
||||||
// Dynamic stuff, do not store geometry
|
// Dynamic stuff, do not store geometry
|
||||||
setUseDisplayList(false);
|
setUseDisplayList(false);
|
||||||
|
setDataVariance(Object::DYNAMIC);
|
||||||
|
|
||||||
osg::StateSet* stateSet = getOrCreateStateSet();
|
osg::StateSet* stateSet = getOrCreateStateSet();
|
||||||
stateSet->setRenderBinDetails(1001, "RenderBin");
|
stateSet->setRenderBinDetails(1001, "RenderBin");
|
||||||
|
@ -184,6 +185,7 @@ public:
|
||||||
{
|
{
|
||||||
// Dynamic stuff, do not store geometry
|
// Dynamic stuff, do not store geometry
|
||||||
setUseDisplayList(false);
|
setUseDisplayList(false);
|
||||||
|
setDataVariance(Object::DYNAMIC);
|
||||||
|
|
||||||
osg::StateSet* stateSet = getOrCreateStateSet();
|
osg::StateSet* stateSet = getOrCreateStateSet();
|
||||||
stateSet->setRenderBinDetails(1000, "RenderBin");
|
stateSet->setRenderBinDetails(1000, "RenderBin");
|
||||||
|
|
Loading…
Add table
Reference in a new issue