summaryrefslogtreecommitdiffstats
path: root/editor/animation_track_editor.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-10 18:44:29 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-10 18:44:29 +0100
commit73c53cca81fc1d003b02fa96d9fcf4647df16950 (patch)
tree095e9bb4e1b33644e5684f3c649b8d234357b7ef /editor/animation_track_editor.cpp
parentac683301302ef02eeb5045e9a7e80587ae9760dd (diff)
parentb495c63b0bdf28dd92ceebb531c21f34b8336390 (diff)
downloadredot-engine-73c53cca81fc1d003b02fa96d9fcf4647df16950.tar.gz
Merge pull request #71054 from MarioLiebisch/fix-animationplayer-calltrack-strings
Properly stringify args for Call Method Tracks
Diffstat (limited to 'editor/animation_track_editor.cpp')
-rw-r--r--editor/animation_track_editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp
index 8426dfd1ac..3233bd79d5 100644
--- a/editor/animation_track_editor.cpp
+++ b/editor/animation_track_editor.cpp
@@ -2228,7 +2228,7 @@ void AnimationTrackEdit::draw_key(int p_index, float p_pixels_sec, int p_x, bool
if (i > 0) {
text += ", ";
}
- text += String(args[i]);
+ text += args[i].get_construct_string();
}
text += ")";
@@ -2540,7 +2540,7 @@ String AnimationTrackEdit::get_tooltip(const Point2 &p_pos) const {
if (i > 0) {
text += ", ";
}
- text += String(args[i]);
+ text += args[i].get_construct_string();
}
text += ")\n";