Skip to content

Commit

Permalink
bumped cache version for landscape (#2515)
Browse files Browse the repository at this point in the history
## What does this PR change?
see title 

## How to test the changes?

check if [#2190](#2190) is fixed
  • Loading branch information
popuz authored Oct 21, 2024
1 parent 51cb460 commit ea1936f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Explorer/Assets/DCL/Landscape/TerrainGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
using Unity.Jobs;
using Unity.Mathematics;
using UnityEngine;
using UnityEngine.Profiling;
using Utility;
using JobHandle = Unity.Jobs.JobHandle;

Expand All @@ -28,7 +27,7 @@ public class TerrainGenerator : IDisposable, IContainParcel
private const float ROOT_VERTICAL_SHIFT = -0.01f; // fix for not clipping with scene (potential) floor

// increment this number if we want to force the users to generate a new terrain cache
private const int CACHE_VERSION = 7;
private const int CACHE_VERSION = 8;

private const float PROGRESS_COUNTER_EMPTY_PARCEL_DATA = 0.1f;
private const float PROGRESS_COUNTER_TERRAIN_DATA = 0.3f;
Expand Down

0 comments on commit ea1936f

Please sign in to comment.