mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-28 12:09:46 +00:00
Merge pull request #2502 from akortunov/master
Optimize custom bones search visitor
This commit is contained in:
commit
b58c632c20
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue