File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
com.unity.formats.fbx/Editor/Sources/Recorders/FbxRecorder Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,12 @@ protected override void EndRecording(RecordingSession session)
38
38
var absolutePath = FileNameGenerator . SanitizePath ( settings . FileNameGenerator . BuildAbsolutePath ( session ) ) ;
39
39
var clipName = absolutePath . Replace ( FileNameGenerator . SanitizePath ( Application . dataPath ) , "Assets" ) ;
40
40
41
- #if UNITY_2018_3_OR_NEWER
41
+ #if UNITY_2019_3_OR_NEWER
42
42
var options = new Animations . CurveFilterOptions ( ) ;
43
43
options . keyframeReduction = false ;
44
44
aInput . GameObjectRecorder . SaveToClip ( clip , settings . FrameRate , options ) ;
45
45
#else
46
- aInput . gameObjectRecorder . SaveToClip ( clip ) ;
46
+ aInput . gameObjectRecorder . SaveToClip ( clip , settings . FrameRate ) ;
47
47
#endif
48
48
var root = ( ( AnimationInputSettings ) aInput . settings ) . gameObject ;
49
49
clip . name = "recorded_clip" ;
You can’t perform that action at this time.
0 commit comments