From 1a267fbbb12c91b74d913cb68caea2dccfde1c07 Mon Sep 17 00:00:00 2001 From: Axel Date: Wed, 28 Apr 2021 12:42:56 +0200 Subject: [PATCH] Removed renderthread and gamethread syncronization for all cameras except dvs. --- .../Plugins/Carla/Source/Carla/Sensor/SceneCaptureSensor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureSensor.h b/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureSensor.h index 372870d85..6809deb2c 100644 --- a/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureSensor.h +++ b/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureSensor.h @@ -295,7 +295,7 @@ public: /// Blocks until the render thread has finished all it's tasks. void WaitForRenderThreadToFinsih() { TRACE_CPUPROFILER_EVENT_SCOPE(ASceneCaptureSensor::WaitForRenderThreadToFinsih); - FlushRenderingCommands(); + // FlushRenderingCommands(); } protected: