mirror of
https://github.com/Relintai/voxelman.git
synced 2025-02-10 16:20:10 +01:00
The world editor now won't use right click, as it makes navigation awful.
This commit is contained in:
parent
463e32868b
commit
fd24639e26
@ -71,8 +71,6 @@ bool VoxelWorldEditor::forward_spatial_input_event(Camera *p_camera, const Ref<I
|
||||
|
||||
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);
|
||||
} 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 {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user