summaryrefslogtreecommitdiffstats
path: root/editor/plugins/spatial_editor_plugin.h
diff options
context:
space:
mode:
authorcarlosfvieira <carlos.vieira@gmail.com>2017-12-19 14:29:55 +0000
committercarlosfvieira <carlos.vieira@gmail.com>2017-12-21 11:29:17 +0000
commit49859871d92c1540fa576dcd0e6d337840ab18e2 (patch)
treead42a1e29132cebf23dd3b346d49776875584378 /editor/plugins/spatial_editor_plugin.h
parentb068961c8fe51daa388cfd14021712b00fd9aec7 (diff)
downloadredot-engine-49859871d92c1540fa576dcd0e6d337840ab18e2.tar.gz
Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys) - this closes #14371 and closes #12409
Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys) - this closes #14371 and closes #12409
Diffstat (limited to 'editor/plugins/spatial_editor_plugin.h')
-rw-r--r--editor/plugins/spatial_editor_plugin.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/editor/plugins/spatial_editor_plugin.h b/editor/plugins/spatial_editor_plugin.h
index 4aa1d9c0c1..d080745dc9 100644
--- a/editor/plugins/spatial_editor_plugin.h
+++ b/editor/plugins/spatial_editor_plugin.h
@@ -273,8 +273,11 @@ private:
Transform to_camera_transform(const Cursor &p_cursor) const;
void _draw();
- void _smouseenter();
- void _smouseexit();
+ void _surface_mouse_enter();
+ void _surface_mouse_exit();
+ void _surface_focus_enter();
+ void _surface_focus_exit();
+
void _sinput(const Ref<InputEvent> &p_event);
void _update_freelook(real_t delta);
SpatialEditor *spatial_editor;