فهرست منبع

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

Properly stringify args for Call Method Tracks
Rémi Verschelde 2 سال پیش
والد
کامیت
73c53cca81
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      editor/animation_track_editor.cpp

+ 2 - 2
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";