Merge pull request #2942 from akortunov/master

Fix crash in the stateset updater
pull/578/head
Andrei Kortunov 5 years ago committed by GitHub
commit 829c26e904
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save