summaryrefslogtreecommitdiffstats
path: root/editor/animation_track_editor.h
diff options
context:
space:
mode:
authorMuller-Castro <37383316+Muller-Castro@users.noreply.github.com>2024-02-15 13:25:58 -0300
committerMuller-Castro <37383316+Muller-Castro@users.noreply.github.com>2024-02-26 15:28:15 -0300
commit1638c1b28f4b79546864872ef25b3c28f4860b56 (patch)
treedacb36ef5b2f92dae0ccab7b40afaeeedf432ae5 /editor/animation_track_editor.h
parentbb6b06c81343073f10cbbd2af515cf0dac1e6549 (diff)
downloadredot-engine-1638c1b28f4b79546864872ef25b3c28f4860b56.tar.gz
Add const lvalue ref to editor/* container parameters
Diffstat (limited to 'editor/animation_track_editor.h')
-rw-r--r--editor/animation_track_editor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/animation_track_editor.h b/editor/animation_track_editor.h
index 0d6f93fefc..d0da7b0062 100644
--- a/editor/animation_track_editor.h
+++ b/editor/animation_track_editor.h
@@ -440,7 +440,7 @@ class AnimationTrackEditor : public VBoxContainer {
void _add_track(int p_type);
void _new_track_node_selected(NodePath p_path);
- void _new_track_property_selected(String p_name);
+ void _new_track_property_selected(const String &p_name);
void _update_step_spinbox();
@@ -699,7 +699,7 @@ public:
void set_anim_pos(float p_pos);
void insert_node_value_key(Node *p_node, const String &p_property, const Variant &p_value, bool p_only_if_exists = false);
void insert_value_key(const String &p_property, const Variant &p_value, bool p_advance);
- void insert_transform_key(Node3D *p_node, const String &p_sub, const Animation::TrackType p_type, const Variant p_value);
+ void insert_transform_key(Node3D *p_node, const String &p_sub, const Animation::TrackType p_type, const Variant &p_value);
bool has_track(Node3D *p_node, const String &p_sub, const Animation::TrackType p_type);
void make_insert_queue();
void commit_insert_queue();