diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-08-07 10:31:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-07 10:31:08 +0200 |
commit | 3c85ef14c33c54c8b880610dfab4479c668936a6 (patch) | |
tree | d28428b16a18fc8091a8d8a213f44b84fdc5427a /editor/plugins/path_3d_editor_plugin.cpp | |
parent | 9cb4fbe9d583e3f797e6b653fc9124515a7dd8f7 (diff) | |
parent | e4e4a02d3d1eeb3e87e8ee569b433e6fca0c3496 (diff) | |
download | redot-engine-3c85ef14c33c54c8b880610dfab4479c668936a6.tar.gz |
Merge pull request #51353 from AndreaCatania/const_fix
Removes const from set functions on the Gizmos
Diffstat (limited to 'editor/plugins/path_3d_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/path_3d_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/path_3d_editor_plugin.cpp b/editor/plugins/path_3d_editor_plugin.cpp index 63b89aea35..13f7908170 100644 --- a/editor/plugins/path_3d_editor_plugin.cpp +++ b/editor/plugins/path_3d_editor_plugin.cpp @@ -88,7 +88,7 @@ Variant Path3DGizmo::get_handle_value(int p_id) const { return ofs; } -void Path3DGizmo::set_handle(int p_id, Camera3D *p_camera, const Point2 &p_point) const { +void Path3DGizmo::set_handle(int p_id, Camera3D *p_camera, const Point2 &p_point) { Ref<Curve3D> c = path->get_curve(); if (c.is_null()) { return; @@ -157,7 +157,7 @@ void Path3DGizmo::set_handle(int p_id, Camera3D *p_camera, const Point2 &p_point } } -void Path3DGizmo::commit_handle(int p_id, const Variant &p_restore, bool p_cancel) const { +void Path3DGizmo::commit_handle(int p_id, const Variant &p_restore, bool p_cancel) { Ref<Curve3D> c = path->get_curve(); if (c.is_null()) { return; |