Changed some code showed in LGTM and Coverage
This commit is contained in:
parent
584ca0f156
commit
6cbaf7662f
55 changed files with 94 additions and 202 deletions
|
|
@ -389,7 +389,7 @@ void EditorPropertyMember::_property_select() {
|
|||
type = Variant::Type(i);
|
||||
}
|
||||
}
|
||||
if (type)
|
||||
if (type != Variant::NIL)
|
||||
selector->select_method_from_basic_type(type, current);
|
||||
|
||||
} else if (hint == MEMBER_METHOD_OF_BASE_TYPE) {
|
||||
|
|
@ -2412,7 +2412,6 @@ void EditorPropertyResource::_update_menu_items() {
|
|||
menu->add_separator();
|
||||
menu->add_item(TTR("Show in FileSystem"), OBJ_MENU_SHOW_IN_FILE_SYSTEM);
|
||||
}
|
||||
} else {
|
||||
}
|
||||
|
||||
RES cb = EditorSettings::get_singleton()->get_resource_clipboard();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue