summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorGilles Roudière <gilles.roudiere@gmail.com>2021-11-10 16:33:11 +0100
committerGilles Roudière <gilles.roudiere@gmail.com>2021-11-10 16:33:11 +0100
commit8de0f969bfd2e22480f19fa9959c6464a6722757 (patch)
tree26fa07eebcae6ec797535bb312899a7232893a6d /editor
parent9444a3f01d3a8c4f49ddf24e3acc65b399ee0609 (diff)
Fix EditorImportPlugin logic for checking unimplemented methods
Diffstat (limited to 'editor')
-rw-r--r--editor/import/editor_import_plugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/import/editor_import_plugin.cpp b/editor/import/editor_import_plugin.cpp
index d219f6e325..2c1d2149c6 100644
--- a/editor/import/editor_import_plugin.cpp
+++ b/editor/import/editor_import_plugin.cpp
@@ -57,6 +57,7 @@ void EditorImportPlugin::get_recognized_extensions(List<String> *p_extensions) c
for (int i = 0; i < extensions.size(); i++) {
p_extensions->push_back(extensions[i]);
}
+ return;
}
ERR_FAIL_MSG("Unimplemented _get_recognized_extensions in add-on.");
}
@@ -139,6 +140,7 @@ void EditorImportPlugin::get_import_options(List<ResourceImporter::ImportOption>
ImportOption option(PropertyInfo(default_value.get_type(), name, hint, hint_string, usage), default_value);
r_options->push_back(option);
}
+ return;
}
ERR_FAIL_MSG("Unimplemented _get_import_options in add-on.");