| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -94,7 +94,11 @@ static void ImportTransformChannel(const FInterpCurveFloat& Source, FMovieSceneF | |||
| 94 | 94 | } | |
| 95 | 95 | ||
| 96 | 96 | FFrameNumber KeyTime = (Source.Points[KeyIndex].InVal * DestFrameRate).RoundToFrame(); | |
| 97 | + #if ENGINE_MINOR_VERSION > 20 | ||
| 98 | + FMatineeImportTools::SetOrAddKey(ChannelData, KeyTime, Source.Points[KeyIndex].OutVal, ArriveTangent, LeaveTangent, Source.Points[KeyIndex].InterpMode, DestFrameRate); | ||
| 99 | + #else | ||
| 97 | 100 | FMatineeImportTools::SetOrAddKey(ChannelData, KeyTime, Source.Points[KeyIndex].OutVal, ArriveTangent, LeaveTangent, Source.Points[KeyIndex].InterpMode); | |
| 101 | + #endif | ||
| 98 | 102 | } | |
| 99 | 103 | ||
| 100 | 104 | Dest->AutoSetTangents(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments