diff options
author | hare_ware <32441086+CheesecakeCG@users.noreply.github.com> | 2023-02-23 21:38:50 -0500 |
---|---|---|
committer | hare_ware <32441086+CheesecakeCG@users.noreply.github.com> | 2023-02-23 21:38:50 -0500 |
commit | f3095b7c9da4d74dfe53c2e29bf70b0efce773d0 (patch) | |
tree | 234adb0856ccbde12abf107a06a0af3c4fa790d9 /editor/import | |
parent | e930c8d3838280e40baabc4426bd8236f7ac50a3 (diff) |
Fix settings not appearing for Animation Libraries in the Scene Import window
Diffstat (limited to 'editor/import')
-rw-r--r-- | editor/import/scene_import_settings.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/import/scene_import_settings.cpp b/editor/import/scene_import_settings.cpp index a09e0e7408..8471e0d8a3 100644 --- a/editor/import/scene_import_settings.cpp +++ b/editor/import/scene_import_settings.cpp @@ -594,6 +594,9 @@ void SceneImportSettings::open_settings(const String &p_path, bool p_for_animati // Visibility data_mode->set_tab_hidden(1, p_for_animation); data_mode->set_tab_hidden(2, p_for_animation); + if (p_for_animation) { + data_mode->set_current_tab(0); + } action_menu->get_popup()->set_item_disabled(action_menu->get_popup()->get_item_id(ACTION_EXTRACT_MATERIALS), p_for_animation); action_menu->get_popup()->set_item_disabled(action_menu->get_popup()->get_item_id(ACTION_CHOOSE_MESH_SAVE_PATHS), p_for_animation); |