mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 15:35:23 +00:00
Attach effects to the insert node instead of the object root (Bug #2654)
This commit is contained in:
parent
c7493eb45c
commit
c94c87d409
@ -1060,7 +1060,7 @@ namespace MWRender
|
||||
params.mModelName = model;
|
||||
osg::ref_ptr<osg::Group> parentNode;
|
||||
if (bonename.empty())
|
||||
parentNode = mObjectRoot->asGroup();
|
||||
parentNode = mInsert;
|
||||
else
|
||||
{
|
||||
NodeMap::iterator found = mNodeMap.find(Misc::StringUtils::lowerCase(bonename));
|
||||
|
Loading…
x
Reference in New Issue
Block a user