Преглед изворни кода

Bugfix: Fix animation sample rate not being loaded when an existing clip is loaded in the animation window

BearishSun пре 6 година
родитељ
комит
cab922318a
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      Source/EditorManaged/Windows/AnimationWindow.cs

+ 1 - 0
Source/EditorManaged/Windows/AnimationWindow.cs

@@ -504,6 +504,7 @@ namespace bs.Editor
 
             guiCurveEditor.Events = clipInfo.events;
             guiCurveEditor.DisableCurveEdit = clipInfo.isImported;
+            guiCurveEditor.SetFPS(clipInfo.sampleRate);
 
             SetCurrentFrame(0);
             fps = clipInfo.sampleRate;