don't exclude childless roots from GeometryCollectionAlgo::ComputeRecursiveOrder

#rb cedric.caillaud
#preflight 629189f9bc1213abd7f8d96c

[CL 20402974 by Jimmy Andrews in ue5-main branch]
This commit is contained in:
Jimmy Andrews
2022-05-27 22:49:34 -04:00
parent 8b924a40fa
commit 169f6ff2dc
@@ -1440,7 +1440,7 @@ namespace GeometryCollectionAlgo
//enqueue all roots
for (int32 TransformGroupIndex = 0; TransformGroupIndex < NumTransforms; TransformGroupIndex++)
{
if (Parent[TransformGroupIndex] == FGeometryCollection::Invalid && Children[TransformGroupIndex].Num() > 0)
if (Parent[TransformGroupIndex] == FGeometryCollection::Invalid)
{
ClustersToProcess.Emplace(TransformGroupIndex);
}