Просмотр исходного кода

Bugfix: Animation window not properly applying .z component when animating scene object position

BearishSun 7 лет назад
Родитель
Сommit
48b84277e9

+ 1 - 1
Source/Scripting/MBansheeEditor/Windows/Animation/EditorAnimInfo.cs

@@ -386,7 +386,7 @@ namespace BansheeEditor
                     {
                         new AnimationCurve(kvp.Value.curveInfos[0].curve.KeyFrames),
                         new AnimationCurve(kvp.Value.curveInfos[1].curve.KeyFrames),
-                        new AnimationCurve(kvp.Value.curveInfos[1].curve.KeyFrames)
+                        new AnimationCurve(kvp.Value.curveInfos[2].curve.KeyFrames)
                     });
 
                     EditorVector3CurveTangents curveTangents = new EditorVector3CurveTangents();