The world editor now won't use right click, as it makes navigation awful.

This commit is contained in:
Relintai 2020-04-10 16:13:04 +02:00
parent 463e32868b
commit fd24639e26

View File

@ -71,8 +71,6 @@ bool VoxelWorldEditor::forward_spatial_input_event(Camera *p_camera, const Ref<I
if (mb->get_button_index() == BUTTON_LEFT) { if (mb->get_button_index() == BUTTON_LEFT) {
return do_input_action(p_camera, Point2(mb->get_position().x, mb->get_position().y), true, _seletced_type); return do_input_action(p_camera, Point2(mb->get_position().x, mb->get_position().y), true, _seletced_type);
} else if (mb->get_button_index() == BUTTON_RIGHT) {
return do_input_action(p_camera, Point2(mb->get_position().x, mb->get_position().y), true, 0);
} else { } else {
return false; return false;
} }