mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-09 04:15:40 -04:00
Set a root for BS skins as well
This commit is contained in:
parent
8d7218c118
commit
e3c9e6fe2b
@ -1732,6 +1732,8 @@ namespace NifOsg
|
||||
}
|
||||
rig->setBoneInfo(std::move(boneInfo));
|
||||
rig->setInfluences(influences);
|
||||
if (const Nif::NiAVObject* rootBone = skin->mRoot.getPtr())
|
||||
rig->setRootBone(rootBone->mName);
|
||||
|
||||
drawable = rig;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user