Browse Source

Merge pull request #55371 from TokageItLab/fixed-playbackdata-in-animationplayer

Fixed PlaybackData in AnimationPlayer
Rémi Verschelde 3 năm trước cách đây
mục cha
commit
e734a7a2d8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      scene/animation/animation_player.h

+ 1 - 1
scene/animation/animation_player.h

@@ -198,7 +198,7 @@ private:
 
 	struct PlaybackData {
 		AnimationData *from = nullptr;
-		float pos = 0.0;
+		double pos = 0.0;
 		float speed_scale = 1.0;
 	};