sideeffects / HoudiniEngineForUnreal

Houdini Engine Plugin for Unreal Engine.
http://www.sidefx.com/unreal
Other
1.34k stars 372 forks source link

Linux Compile Error #142

Open XTESLA369 opened 2 years ago

XTESLA369 commented 2 years ago

Linux make:if (World->IsPlayingReplay() || World->IsPlayInEditor())

Wrong HoudiniEngineManager.cpp:

{ UWorld* World = CurrentComponent->GetWorld(); if (World && World->I+sPlayingReplay() || World->IsPlayInEditor()) { if (!CurrentComponent->IsPlayInEditorRefinementAllowed()) { // This component's world is current in PIE and this HDA is NOT allowed to cook / refine in PIE. continue; } } }

Right HoudiniEngineManager.cpp:

{ UWorld* World = CurrentComponent->GetWorld(); if (World->IsPlayingReplay() || World->IsPlayInEditor()) { if (!CurrentComponent->IsPlayInEditorRefinementAllowed()) { // This component's world is current in PIE and this HDA is NOT allowed to cook / refine in PIE. continue; } } } 1

moppius commented 2 years ago

~I have opened #146 to fix this.~

Edit: Just realised it was doing the same as #145 which also fixes the same thing.