Skip to content

Commit

Permalink
Merge pull request #548 from ousttrue/fix/ExportRoot_limit
Browse files Browse the repository at this point in the history
正規化するときは、 `ExportRootに回転・拡大縮小` があってもよい。
  • Loading branch information
ousttrue authored Sep 11, 2020
2 parents 06de4db + 5298fd3 commit 1296895
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Assets/VRM/UniVRM/Editor/Format/VRMExporterWizard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -368,11 +368,6 @@ private void OnGUI()
Validation.Error(Msg(VRMExporterWizardMessages.NO_PARENT)).DrawGUI();
return;
}
if (ExportRoot.transform.localRotation != Quaternion.identity || ExportRoot.transform.localScale != Vector3.one)
{
Validation.Error(Msg(VRMExporterWizardMessages.ROOT_WITHOUT_ROTATION_AND_SCALING_CHANGED)).DrawGUI();
return;
}

var renderers = ExportRoot.GetComponentsInChildren<Renderer>();
if (renderers.All(x => !x.EnableForExport()))
Expand Down

0 comments on commit 1296895

Please sign in to comment.