mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 21:39:41 +00:00
Fix crash in the stateset updater (regression #5478)
This commit is contained in:
parent
c53516a4b7
commit
ef6fe8d52a
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ namespace SceneUtil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
osg::StateSet* stateset = mStateSets[nv->getTraversalNumber()%2];
|
osg::ref_ptr<osg::StateSet> stateset = mStateSets[nv->getTraversalNumber()%2];
|
||||||
apply(stateset, nv);
|
apply(stateset, nv);
|
||||||
|
|
||||||
if (!isCullVisitor)
|
if (!isCullVisitor)
|
||||||
|
|
Loading…
Reference in a new issue