1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Merge pull request #94058 from Hilderin/fix-scene-project-importation-settings

Fix missing options in Project Import Defaults
This commit is contained in:
Rémi Verschelde
2024-07-17 11:42:59 +02:00
6 changed files with 43 additions and 38 deletions

View File

@@ -291,14 +291,18 @@ bool ResourceImporterScene::get_option_visibility(const String &p_path, const St
for (int i = 0; i < post_importer_plugins.size(); i++) {
Variant ret = post_importer_plugins.write[i]->get_option_visibility(p_path, animation_importer, p_option, p_options);
if (ret.get_type() == Variant::BOOL) {
return ret;
if (!ret) {
return false;
}
}
}
for (Ref<EditorSceneFormatImporter> importer : scene_importers) {
Variant ret = importer->get_option_visibility(p_path, animation_importer, p_option, p_options);
if (ret.get_type() == Variant::BOOL) {
return ret;
if (!ret) {
return false;
}
}
}