Merge pull request #2502 from akortunov/master

Optimize custom bones search visitor
pull/2503/head
Andrei Kortunov 5 years ago committed by GitHub
commit b58c632c20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -247,7 +247,10 @@ namespace
void apply(osg::Node& node)
{
if (SceneUtil::hasUserDescription(&node, "CustomBone"))
{
mFoundBones.emplace_back(&node, node.getParent(0));
return;
}
traverse(node);
}

Loading…
Cancel
Save