You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Fix selection box staying when editing a GridMap
This commit is contained in:
@@ -645,7 +645,7 @@ bool GridMapEditor::forward_spatial_input_event(Camera *p_camera, const Ref<Inpu
|
|||||||
}
|
}
|
||||||
set_items.clear();
|
set_items.clear();
|
||||||
input_action = INPUT_NONE;
|
input_action = INPUT_NONE;
|
||||||
return true;
|
return set_items.size() > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mb->get_button_index() == BUTTON_LEFT && input_action != INPUT_NONE) {
|
if (mb->get_button_index() == BUTTON_LEFT && input_action != INPUT_NONE) {
|
||||||
|
|||||||
Reference in New Issue
Block a user