You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Merge pull request #32991 from Chaosus/fix_bug2
Fix gridmap error spam at startup
This commit is contained in:
@@ -350,7 +350,9 @@ void GridMapEditor::_set_selection(bool p_active, const Vector3 &p_begin, const
|
||||
selection.click = p_begin;
|
||||
selection.current = p_end;
|
||||
|
||||
_update_selection_transform();
|
||||
if (is_visible_in_tree()) {
|
||||
_update_selection_transform();
|
||||
}
|
||||
|
||||
options->get_popup()->set_item_disabled(options->get_popup()->get_item_index(MENU_OPTION_SELECTION_CLEAR), !selection.active);
|
||||
options->get_popup()->set_item_disabled(options->get_popup()->get_item_index(MENU_OPTION_SELECTION_CUT), !selection.active);
|
||||
|
||||
Reference in New Issue
Block a user