Skip to content

Commit

Permalink
Improvements for NVSceneCapturer
Browse files Browse the repository at this point in the history
-BugFix: #16 -- Clear the bNeedToExportScene flag after each time we captured and exported the scene to make TimeBetweenSceneCapture work.
-Enable feature requested in: #13 -- check for actors in the array IgnoreActors
  • Loading branch information
Sserpenthraxus-nv committed Sep 27, 2019
1 parent 71b759e commit 035ea9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -369,6 +369,7 @@ void ANVSceneCapturerActor::CaptureSceneToPixelsData()
}

LastCaptureTimestamp = CurrentTime;
bNeedToExportScene = false;
}

void ANVSceneCapturerActor::UpdateCapturerSettings()
Expand Down
Expand Up @@ -113,7 +113,7 @@ UNVSceneCaptureComponent2D* UNVSceneFeatureExtractor_PixelData::CreateSceneCaptu
// Hide actors in the list of ignored actors
for (AActor* CheckActor : IgnoreActors)
{
if (!CheckActor)
if (CheckActor)
{
NewSceneCaptureComp2D->HideActorComponents(CheckActor);
}
Expand Down

0 comments on commit 035ea9e

Please sign in to comment.