wait render to finish if a sensor camera is stopped
This commit is contained in:
parent
d5fb48eb5f
commit
59fb4b3ede
|
@ -607,6 +607,7 @@ void ASceneCaptureSensor::PostPhysTick(UWorld *World, ELevelTick TickType, float
|
|||
void ASceneCaptureSensor::EndPlay(const EEndPlayReason::Type EndPlayReason)
|
||||
{
|
||||
Super::EndPlay(EndPlayReason);
|
||||
FlushRenderingCommands();
|
||||
SCENE_CAPTURE_COUNTER = 0u;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue