mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-25 05:40:21 -04:00
Fixed #390
This commit is contained in:
parent
59be547a82
commit
cefdf08873
@ -463,13 +463,16 @@ namespace AssetStudio
|
||||
{
|
||||
meshR.m_GameObject.TryGet(out var m_GameObject);
|
||||
var frame = RootFrame.FindChild(m_GameObject.m_Name);
|
||||
frame.LocalPosition = RootFrame.LocalPosition;
|
||||
frame.LocalRotation = RootFrame.LocalRotation;
|
||||
while (frame.Parent != null)
|
||||
if (frame != null)
|
||||
{
|
||||
frame = frame.Parent;
|
||||
frame.LocalPosition = RootFrame.LocalPosition;
|
||||
frame.LocalRotation = RootFrame.LocalRotation;
|
||||
while (frame.Parent != null)
|
||||
{
|
||||
frame = frame.Parent;
|
||||
frame.LocalPosition = RootFrame.LocalPosition;
|
||||
frame.LocalRotation = RootFrame.LocalRotation;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user