diff --git a/Assets/VRM/Editor/Format/VRMExportOptions.cs b/Assets/VRM/Editor/Format/VRMExportOptions.cs index 1b23da7bc..dfe78e7ea 100644 --- a/Assets/VRM/Editor/Format/VRMExportOptions.cs +++ b/Assets/VRM/Editor/Format/VRMExportOptions.cs @@ -12,6 +12,10 @@ namespace VRM [LangMsg(Languages.en, "Model's normalization (bake to remove roation and scaling from the hierarchy)")] NORMALIZE, + [LangMsg(Languages.ja, "正規化するときににブレンドシェイプによる変形をベイク処理します。")] + [LangMsg(Languages.en, "Bake the blendshape deformations as the base model when normalizing.")] + FREEZE_BLENDSHAPE, + [LangMsg(Languages.ja, "エクスポート時に新しいJsonSerializerを使う")] [LangMsg(Languages.en, "The new version of JsonSerializer for model export")] USE_GENERATED_SERIALIZER, diff --git a/Assets/VRM/Editor/Format/VRMExportSettings.cs b/Assets/VRM/Editor/Format/VRMExportSettings.cs index cc634263a..29b93d57e 100644 --- a/Assets/VRM/Editor/Format/VRMExportSettings.cs +++ b/Assets/VRM/Editor/Format/VRMExportSettings.cs @@ -23,7 +23,7 @@ namespace VRM /// FreezeBlendShape /// [Tooltip("when freeze mesh, blendShpae base use current weight")] - public bool FreezeMeshUseCurrentBlendShapeWeight = false; + public bool FreezeMeshUseCurrentBlendShapeWeight = true; /// /// BlendShapeのシリアライズにSparseAccessorを使う diff --git a/Assets/VRM/Editor/Format/VRMExportSettingsEditor.cs b/Assets/VRM/Editor/Format/VRMExportSettingsEditor.cs index 9c8901ab3..3df60f240 100644 --- a/Assets/VRM/Editor/Format/VRMExportSettingsEditor.cs +++ b/Assets/VRM/Editor/Format/VRMExportSettingsEditor.cs @@ -48,6 +48,7 @@ namespace VRM private void OnEnable() { m_checkbox_list.Add(new CheckBoxProp(serializedObject.FindProperty(nameof(VRMExportSettings.PoseFreeze)), VRMExportOptions.NORMALIZE)); + m_checkbox_list.Add(new CheckBoxProp(serializedObject.FindProperty(nameof(VRMExportSettings.FreezeMeshUseCurrentBlendShapeWeight)), VRMExportOptions.FREEZE_BLENDSHAPE)); m_checkbox_list.Add(new CheckBoxProp(serializedObject.FindProperty(nameof(VRMExportSettings.UseSparseAccessor)), VRMExportOptions.BLENDSHAPE_USE_SPARSE)); m_checkbox_list.Add(new CheckBoxProp(serializedObject.FindProperty(nameof(VRMExportSettings.OnlyBlendshapePosition)), VRMExportOptions.BLENDSHAPE_EXCLUDE_NORMAL_AND_TANGENT)); m_checkbox_list.Add(new CheckBoxProp(serializedObject.FindProperty(nameof(VRMExportSettings.ReduceBlendshape)), VRMExportOptions.BLENDSHAPE_ONLY_CLIP_USE));