Merge branch '4.1-beta' into 4.2-beta

This commit is contained in:
badlogic 2022-05-02 18:31:27 +02:00
commit 1fe597d88a

View File

@ -167,6 +167,7 @@ void USpineSkeletonRendererComponent::Flush(int &Idx, TArray<FVector> &Vertices,
}
}
GetBodySetup()->bGenerateMirroredCollision = GetComponentScale().X < 0 || GetComponentScale().Y < 0 || GetComponentScale().Z < 0;
CreateMeshSection(Idx, Vertices, Indices, Normals, Uvs, Colors, TArray<FProcMeshTangent>(), bShouldCreateCollision);
Vertices.SetNum(0);