1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-31 18:18:26 +00:00

attach.cpp [ci skip]

This commit is contained in:
Bo Svensson 2021-09-05 10:05:11 +00:00 committed by GitHub
parent 4e38f634c0
commit b7a03980a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@ namespace SceneUtil
osg::Node* node = &drawable;
for (auto it = getNodePath().rbegin()+1; it != getNodePath().rend(); ++it)
{
osg::Group* parent = *it;
osg::Node* parent = *it;
if (!filterMatches(parent->getName()))
break;
node = parent;