You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
fix error dialog from appearing after loading material res
This commit is contained in:
@@ -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);
|
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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user