mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Merge pull request #67588 from KoBeWi/if(!GDVIRTUAL_CALL)don't
Simplify GDVIRTUAL_CALL calls
This commit is contained in:
@@ -512,12 +512,9 @@ void EditorResourcePicker::set_create_options(Object *p_menu_node) {
|
||||
}
|
||||
|
||||
bool EditorResourcePicker::handle_menu_selected(int p_which) {
|
||||
bool success;
|
||||
if (GDVIRTUAL_CALL(_handle_menu_selected, p_which, success)) {
|
||||
return success;
|
||||
}
|
||||
|
||||
return false;
|
||||
bool success = false;
|
||||
GDVIRTUAL_CALL(_handle_menu_selected, p_which, success);
|
||||
return success;
|
||||
}
|
||||
|
||||
void EditorResourcePicker::_button_draw() {
|
||||
|
||||
Reference in New Issue
Block a user