Skip to content

Commit

Permalink
- Fixed regression introduced by r425615
Browse files Browse the repository at this point in the history
  Endless cooking loop when using WorldInputs.
  • Loading branch information
dpernuit committed Sep 8, 2022
1 parent 1b88c78 commit e3524d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Source/HoudiniEngineRuntime/Private/HoudiniInputObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1233,6 +1233,11 @@ UHoudiniInputMeshComponent::Update(UObject * InObject)
UStaticMeshComponent* SMC = Cast<UStaticMeshComponent>(InObject);

ensure(SMC);

if (IsValid(SMC))
{
StaticMesh = TSoftObjectPtr<UStaticMesh>(SMC->GetStaticMesh());
}
}

void
Expand Down

0 comments on commit e3524d6

Please sign in to comment.