diff --git a/Assets/VRM/UniGLTF/Scripts/IO/MeshExporter.cs b/Assets/VRM/UniGLTF/Scripts/IO/MeshExporter.cs index 046a698d8..73f1049a0 100644 --- a/Assets/VRM/UniGLTF/Scripts/IO/MeshExporter.cs +++ b/Assets/VRM/UniGLTF/Scripts/IO/MeshExporter.cs @@ -265,6 +265,10 @@ namespace UniGLTF blendShapeIndexMap.Add(j, exportBlendShapes++); + // maybe skip + + blendShapeIndexMap.Add(j, exportBlendShapes++); + // // all primitive has same blendShape // diff --git a/Assets/VRM/UniGLTF/Scripts/IO/gltfExporter.cs b/Assets/VRM/UniGLTF/Scripts/IO/gltfExporter.cs index 70c6595e4..c60cc83a6 100644 --- a/Assets/VRM/UniGLTF/Scripts/IO/gltfExporter.cs +++ b/Assets/VRM/UniGLTF/Scripts/IO/gltfExporter.cs @@ -27,7 +27,7 @@ namespace UniGLTF var go = Selection.activeObject as GameObject; if (go.transform.position == Vector3.zero && - go.transform.rotation == Quaternion.identity && + go.transform.rotation == Quaternion.identity && go.transform.localScale == Vector3.one) { var path = EditorUtility.SaveFilePanel( diff --git a/Assets/VRM/UniVRM/Editor/Format/VRMExportSettings.cs b/Assets/VRM/UniVRM/Editor/Format/VRMExportSettings.cs index 336b39b94..fc07231fc 100644 --- a/Assets/VRM/UniVRM/Editor/Format/VRMExportSettings.cs +++ b/Assets/VRM/UniVRM/Editor/Format/VRMExportSettings.cs @@ -66,7 +66,7 @@ namespace VRM /// BlendShapeのシリアライズにSparseAccessorを使う /// [Tooltip("Use sparse accessor for blendshape. This may reduce vrm size")] - public bool UseSparseAccessor = true; + public bool UseSparseAccessor = false; /// /// BlendShapeのPositionのみをエクスポートする