Fix selection box staying when editing a GridMap

This commit is contained in:
JFonS 2018-09-20 11:50:38 +02:00
parent a65d9d96ea
commit 9ffc30699f

View file

@ -645,7 +645,7 @@ bool GridMapEditor::forward_spatial_input_event(Camera *p_camera, const Ref<Inpu
}
set_items.clear();
input_action = INPUT_NONE;
return true;
return set_items.size() > 0;
}
if (mb->get_button_index() == BUTTON_LEFT && input_action != INPUT_NONE) {