From 56a738eecf9c388570745e5dd13064deb28a1695 Mon Sep 17 00:00:00 2001 From: apistol78 Date: Tue, 11 Jun 2024 12:13:24 +0200 Subject: [PATCH] Traktor: Ocean part of snapshot. --- code/Terrain/OceanComponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Terrain/OceanComponent.cpp b/code/Terrain/OceanComponent.cpp index 02d1ce296..8125b7fe4 100644 --- a/code/Terrain/OceanComponent.cpp +++ b/code/Terrain/OceanComponent.cpp @@ -431,7 +431,7 @@ void OceanComponent::build( bool reflectionEnable ) { - if (!m_owner || worldRenderView.getSnapshot()) + if (!m_owner) return; const bool writeVelocity = (worldRenderPass.getTechnique() == world::s_techniqueVelocityWrite);