Skip to content

Commit

Permalink
- Fixed Session status being incorrectly reported as "Not Started" ev…
Browse files Browse the repository at this point in the history
…en after successfully starting SessionSync.
  • Loading branch information
dpernuit committed Jun 14, 2022
1 parent 55891ef commit def96ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/HoudiniEngine/Private/HoudiniEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,8 @@ FHoudiniEngine::SessionSyncConnect(
if (HAPI_RESULT_SUCCESS == FHoudiniApi::IsSessionValid(&Session))
return true;

FHoudiniEngine::Get().SetFirstSessionCreated(true);

// Consider the session failed as long as we dont connect
SetSessionStatus(EHoudiniSessionStatus::Failed);

Expand Down

0 comments on commit def96ed

Please sign in to comment.