[Backout] - CL35901297

[FYI] Todd.Eckert
Original CL Desc
-----------------------------------------------------------------
Fixed an issue when running a construction script that was causing geometry collection component's custom render to try and spawn actors

#rb cedric.caillaud

[CL 35924892 by todd eckert in ue5-main branch]
This commit is contained in:
todd eckert
2024-08-30 09:53:33 -04:00
parent d30ce29ad1
commit 2256e3f14c
@@ -6322,12 +6322,6 @@ bool UGeometryCollectionComponent::IsUsingCustomRenderer() const
void UGeometryCollectionComponent::RefreshCustomRenderer()
{
UWorld* World = GetWorld();
if (!World || World->bIsRunningConstructionScript)
{
return;
}
if (RestCollection == nullptr || !IsCustomRendererAvailable())
{
return;