Merge pull request #548 from ousttrue/fix/ExportRoot_limit

正規化するときは、 `ExportRootに回転・拡大縮小` があってもよい。
This commit is contained in:
ousttrue
2020-09-11 14:06:55 +09:00
committed by GitHub

View File

@@ -368,11 +368,6 @@ namespace VRM
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()))