From b931020e5c97aab4385e11104d72d4de6bf54518 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Fri, 16 Feb 2024 23:32:46 +0100 Subject: [PATCH] Enable terrain updating in cooked build #2068 --- Source/Engine/Terrain/Terrain.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Source/Engine/Terrain/Terrain.h b/Source/Engine/Terrain/Terrain.h index b5bf0ae5c..7db9b8500 100644 --- a/Source/Engine/Terrain/Terrain.h +++ b/Source/Engine/Terrain/Terrain.h @@ -24,10 +24,7 @@ struct RenderView; #define TERRAIN_EDITING 1 // Enable/disable terrain heightmap samples modification and gather. Used by the editor to modify the terrain with the brushes. -#define TERRAIN_UPDATING (USE_EDITOR) - -// Enable/disable precise terrain geometry collision testing (with in-build vertex buffer caching, this will increase memory usage) -#define USE_PRECISE_TERRAIN_INTERSECTS (USE_EDITOR) +#define TERRAIN_UPDATING 1 // Enable/disable terrain physics collision drawing #define TERRAIN_USE_PHYSICS_DEBUG (USE_EDITOR && 1)