diff options
author | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2023-02-02 19:28:14 +0100 |
---|---|---|
committer | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2023-02-02 22:03:52 +0100 |
commit | e3e9da78e8b475d2486f07e272683173364183d2 (patch) | |
tree | 927a86cda1f2c92c330b92022eca51cfea78863a /scene/main/viewport.h | |
parent | a16b0fec4093b22ef5f14c1a4eb9363c890ab06d (diff) |
Remove `Viewport::_get_input_pre_xform`
This function is only relevant for `Window`. So this PR moves
the functionality to the `Window`-class.
Diffstat (limited to 'scene/main/viewport.h')
-rw-r--r-- | scene/main/viewport.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scene/main/viewport.h b/scene/main/viewport.h index 96aee4a34d..2142aaaaef 100644 --- a/scene/main/viewport.h +++ b/scene/main/viewport.h @@ -407,8 +407,6 @@ private: void _perform_drop(Control *p_control = nullptr, Point2 p_pos = Point2()); void _gui_cleanup_internal_state(Ref<InputEvent> p_event); - _FORCE_INLINE_ Transform2D _get_input_pre_xform() const; - Ref<InputEvent> _make_input_local(const Ref<InputEvent> &ev); friend class Control; @@ -509,7 +507,7 @@ public: void set_global_canvas_transform(const Transform2D &p_transform); Transform2D get_global_canvas_transform() const; - Transform2D get_final_transform() const; + virtual Transform2D get_final_transform() const; void assign_next_enabled_camera_2d(const StringName &p_camera_group); void gui_set_root_order_dirty(); |