Browse Source

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

BearishSun 6 years ago
parent
commit
cab922318a
1 changed files with 1 additions and 0 deletions
  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;