mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-27 21:34:38 -05:00
Merge pull request #548 from ousttrue/fix/ExportRoot_limit
正規化するときは、 `ExportRootに回転・拡大縮小` があってもよい。
This commit is contained in:
@@ -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()))
|
||||
|
||||
Reference in New Issue
Block a user