Merge pull request #67651 from KoBeWi/_of_damnation

Fix double hint paste in EditorResourcePicker
This commit is contained in:
Rémi Verschelde 2022-11-15 13:23:36 +01:00
commit eec835f547
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ void EditorResourcePicker::_update_menu_items() {
paste_valid = ClassDB::is_parent_class(res_type, base) || EditorNode::get_editor_data().script_class_is_parent(res_type, base); paste_valid = ClassDB::is_parent_class(res_type, base) || EditorNode::get_editor_data().script_class_is_parent(res_type, base);
if (!paste_valid) { if (paste_valid) {
break; break;
} }
} }