Skip to content

Commit b279548

Browse files
committed
fixed 4.21 build
1 parent b8d73dc commit b279548

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Source/UnrealEnginePython/Private/UObject/UEPySequencer.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,11 @@ static void ImportTransformChannel(const FInterpCurveFloat& Source, FMovieSceneF
9494
}
9595

9696
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
97100
FMatineeImportTools::SetOrAddKey(ChannelData, KeyTime, Source.Points[KeyIndex].OutVal, ArriveTangent, LeaveTangent, Source.Points[KeyIndex].InterpMode);
101+
#endif
98102
}
99103

100104
Dest->AutoSetTangents();

0 commit comments

Comments
 (0)