From 01943aa2bfb4dc174c6b27b9f4bf775ff50b4680 Mon Sep 17 00:00:00 2001 From: arsen2010 Date: Thu, 13 Jul 2023 22:32:39 +0800 Subject: [PATCH] mountAllAnimationsOnPrefab default value true --- editor/inspector/assets/fbx/animation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/inspector/assets/fbx/animation.js b/editor/inspector/assets/fbx/animation.js index d8cd84b6f55..590b8a60c9d 100644 --- a/editor/inspector/assets/fbx/animation.js +++ b/editor/inspector/assets/fbx/animation.js @@ -700,7 +700,7 @@ const Elements = { panel.$.importAllAnimatorWrap.style.display = 'block'; } - panel.$.importAllAnimationsCheckbox.value = getPropValue.call(panel, panel.meta.userData.mountAllAnimationsOnPrefab, false); + panel.$.importAllAnimationsCheckbox.value = getPropValue.call(panel, panel.meta.userData.mountAllAnimationsOnPrefab, true); updateElementInvalid.call(panel, panel.$.importAllAnimationsCheckbox, 'mountAllAnimationsOnPrefab'); updateElementReadonly.call(panel, panel.$.importAllAnimationsCheckbox);