Skip to content

Commit e3524d6

Browse files
committed
- Fixed regression introduced by r425615
Endless cooking loop when using WorldInputs.
1 parent 1b88c78 commit e3524d6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Source/HoudiniEngineRuntime/Private/HoudiniInputObject.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,6 +1233,11 @@ UHoudiniInputMeshComponent::Update(UObject * InObject)
12331233
UStaticMeshComponent* SMC = Cast<UStaticMeshComponent>(InObject);
12341234

12351235
ensure(SMC);
1236+
1237+
if (IsValid(SMC))
1238+
{
1239+
StaticMesh = TSoftObjectPtr<UStaticMesh>(SMC->GetStaticMesh());
1240+
}
12361241
}
12371242

12381243
void

0 commit comments

Comments
 (0)