diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-03 09:30:11 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-03 09:30:11 +0200 |
commit | 4e237ed9efdef41de12eb41971c391f755897c60 (patch) | |
tree | beab0bc5bb5866105513b45a32f730e777d43b11 /editor | |
parent | 6609f1b09f193399659d7586bb09b1135e5b8163 (diff) | |
parent | e9d8847e29c67de71265e301ff92caecfe99c412 (diff) |
Merge pull request #66795 from manueldun/loadSavedMaterial
fix error dialog from appearing after loading material res
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_resource_picker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_resource_picker.cpp b/editor/editor_resource_picker.cpp index de8259c25c..f89aef4cc3 100644 --- a/editor/editor_resource_picker.cpp +++ b/editor/editor_resource_picker.cpp @@ -155,7 +155,7 @@ void EditorResourcePicker::_file_selected(const String &p_path) { any_type_matches = is_global_class ? EditorNode::get_editor_data().script_class_is_parent(res_type, base) : loaded_resource->is_class(base); - if (!any_type_matches) { + if (any_type_matches) { break; } } |