mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-16 19:34:47 +08:00
Reset ped model to T pose when no animatino selected
This commit is contained in:
@@ -2512,6 +2512,13 @@ namespace CodeWalker.Rendering
|
||||
rndbl.ClipDict = animClip.Clip?.Ycd;
|
||||
rndbl.HasAnims = true;
|
||||
}
|
||||
else if ((arche == null) && (rndbl.ClipMapEntry != null))
|
||||
{
|
||||
rndbl.ClipMapEntry = null;
|
||||
rndbl.ClipDict = null;
|
||||
rndbl.HasAnims = false;
|
||||
rndbl.ResetBoneTransforms();
|
||||
}
|
||||
|
||||
return RenderRenderable(rndbl, arche, entity);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user