You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Sequencer: Control Rig Baking cherrypick from Cine branch, changed a check to an if statement whlen the spaces mismatch since this can happen with the mesh/level getting streamed out while still recording.
#jira na #rb na #trivial #preflight 61f8247e68795b2f457ce679 [CL 18798274 by Mike Zyracki in 5.0 branch]
This commit is contained in:
@@ -646,8 +646,12 @@ void FAnimationRecorder::UpdateRecord(USkeletalMeshComponent* Component, float D
|
||||
{
|
||||
const FBlendedHeapCurve& AnimCurves = Component->GetAnimationCurves();
|
||||
|
||||
check(SpaceBases.Num() == PreviousSpacesBases.Num());
|
||||
|
||||
if (SpaceBases.Num() != PreviousSpacesBases.Num())
|
||||
{
|
||||
UE_LOG(LogAnimation, Log, TEXT("Current Num of Spaces %d don't match with the previous number %d so we are stopping recording"), SpaceBases.Num(), PreviousSpacesBases.Num());
|
||||
StopRecord(true);
|
||||
return;
|
||||
}
|
||||
TArray<FTransform> BlendedSpaceBases;
|
||||
BlendedSpaceBases.AddZeroed(SpaceBases.Num());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user