From d6f7b23970afd5e8f6b84e565af08d3ce085be29 Mon Sep 17 00:00:00 2001 From: Masataka SUMI Date: Fri, 22 Oct 2021 20:33:55 +0900 Subject: [PATCH] rename --- Assets/VRM/Runtime/IO/VRMExporter.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/VRM/Runtime/IO/VRMExporter.cs b/Assets/VRM/Runtime/IO/VRMExporter.cs index abbfb3867..bb6e0a96d 100644 --- a/Assets/VRM/Runtime/IO/VRMExporter.cs +++ b/Assets/VRM/Runtime/IO/VRMExporter.cs @@ -10,7 +10,7 @@ namespace VRM { public class VRMExporter : gltfExporter { - public const Axes VrmSpecificationInverseAxis = Axes.Z; + public const Axes Vrm0xSpecificationInverseAxis = Axes.Z; public static glTF Export(GltfExportSettings configuration, GameObject go, ITextureSerializer textureSerializer) { @@ -27,9 +27,9 @@ namespace VRM public VRMExporter(glTF gltf, GltfExportSettings exportSettings) : base(gltf, exportSettings) { - if (exportSettings == null || exportSettings.InverseAxis != VrmSpecificationInverseAxis) + if (exportSettings == null || exportSettings.InverseAxis != Vrm0xSpecificationInverseAxis) { - throw new Exception( $"VRM specification requires InverseAxis settings as {VrmSpecificationInverseAxis}"); + throw new Exception( $"VRM specification requires InverseAxis settings as {Vrm0xSpecificationInverseAxis}"); } gltf.extensionsUsed.Add(glTF_VRM_extensions.ExtensionName);