Show skeleton when entering skeleton tab

This commit is contained in:
ExMatics HydrogenC
2023-11-22 21:52:07 +08:00
parent eba4b9bcc1
commit 5b7a3f9700
2 changed files with 15 additions and 1 deletions

View File

@@ -188,6 +188,7 @@ void AnimatedModel::SetNodeTransformation(int32 nodeIndex, const Matrix& nodeTra
}
OnAnimationUpdated();
}
void AnimatedModel::SetNodeTransformation(const StringView& nodeName, const Matrix& nodeTransformation, bool worldSpace)
{
SetNodeTransformation(SkinnedModel ? SkinnedModel->FindNode(nodeName) : -1, nodeTransformation, worldSpace);