mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Merge pull request #2942 from akortunov/master
Fix crash in the stateset updater
This commit is contained in:
commit
829c26e904
@ -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);
|
||||
|
||||
if (!isCullVisitor)
|
||||
|
Loading…
x
Reference in New Issue
Block a user