Sfoglia il codice sorgente

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

BearishSun 6 anni fa
parent
commit
cab922318a
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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.Events = clipInfo.events;
             guiCurveEditor.DisableCurveEdit = clipInfo.isImported;
             guiCurveEditor.DisableCurveEdit = clipInfo.isImported;
+            guiCurveEditor.SetFPS(clipInfo.sampleRate);
 
 
             SetCurrentFrame(0);
             SetCurrentFrame(0);
             fps = clipInfo.sampleRate;
             fps = clipInfo.sampleRate;