Merge pull request #71054 from MarioLiebisch/fix-animationplayer-calltrack-strings

Properly stringify args for Call Method Tracks
This commit is contained in:
Rémi Verschelde
2023-02-10 18:44:29 +01:00

View File

@ -2228,7 +2228,7 @@ void AnimationTrackEdit::draw_key(int p_index, float p_pixels_sec, int p_x, bool
if (i > 0) { if (i > 0) {
text += ", "; text += ", ";
} }
text += String(args[i]); text += args[i].get_construct_string();
} }
text += ")"; text += ")";
@ -2540,7 +2540,7 @@ String AnimationTrackEdit::get_tooltip(const Point2 &p_pos) const {
if (i > 0) { if (i > 0) {
text += ", "; text += ", ";
} }
text += String(args[i]); text += args[i].get_construct_string();
} }
text += ")\n"; text += ")\n";