Skip to content

Commit

Permalink
fixed 4.21 build
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeioris committed Oct 20, 2018
1 parent b8d73dc commit b279548
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/UnrealEnginePython/Private/UObject/UEPySequencer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ static void ImportTransformChannel(const FInterpCurveFloat& Source, FMovieSceneF
}

FFrameNumber KeyTime = (Source.Points[KeyIndex].InVal * DestFrameRate).RoundToFrame();
#if ENGINE_MINOR_VERSION > 20
FMatineeImportTools::SetOrAddKey(ChannelData, KeyTime, Source.Points[KeyIndex].OutVal, ArriveTangent, LeaveTangent, Source.Points[KeyIndex].InterpMode, DestFrameRate);
#else
FMatineeImportTools::SetOrAddKey(ChannelData, KeyTime, Source.Points[KeyIndex].OutVal, ArriveTangent, LeaveTangent, Source.Points[KeyIndex].InterpMode);
#endif
}

Dest->AutoSetTangents();
Expand Down

0 comments on commit b279548

Please sign in to comment.