Skip to content

Commit

Permalink
fixed 5.1 build
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeioris committed May 14, 2023
1 parent de5586a commit 2574d46
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2434,7 +2434,6 @@ UAnimSequence* FglTFRuntimeParser::CreateSkeletalAnimationFromPath(USkeletalMesh
IntProperty = CastField<FIntProperty>(UAnimDataModel::StaticClass()->FindPropertyByName(TEXT("NumberOfKeys")));
IntProperty->SetPropertyValue_InContainer(AnimSequence->GetDataModel(), NumFrames);

FFrameRate FrameRate(SkeletalAnimationConfig.FramesPerSecond, 1);
FStructProperty* StructProperty = CastField<FStructProperty>(UAnimDataModel::StaticClass()->FindPropertyByName(TEXT("FrameRate")));
FFrameRate* FrameRatePtr = StructProperty->ContainerPtrToValuePtr<FFrameRate>(AnimSequence->GetDataModel());
*FrameRatePtr = FrameRate;
Expand Down

0 comments on commit 2574d46

Please sign in to comment.