From 7075ddd871d80158ebd091d8175d77852857a4c5 Mon Sep 17 00:00:00 2001 From: thorwin99 Date: Mon, 27 Feb 2023 03:29:32 +0100 Subject: [PATCH] Contract freeze fix GetSeedsInBounds would return all seeds of overlapping cells instead of all seeds in bounds --- .../ProceduralGeneration/MyAbstractProceduralCellModule.cs | 4 ++-- SEWorldGenPlugin/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SEWorldGenPlugin/Generator/ProceduralGeneration/MyAbstractProceduralCellModule.cs b/SEWorldGenPlugin/Generator/ProceduralGeneration/MyAbstractProceduralCellModule.cs index 042ff58..d921d09 100644 --- a/SEWorldGenPlugin/Generator/ProceduralGeneration/MyAbstractProceduralCellModule.cs +++ b/SEWorldGenPlugin/Generator/ProceduralGeneration/MyAbstractProceduralCellModule.cs @@ -124,12 +124,12 @@ public void GetSeedsInBounds(BoundingSphereD bounds, List list) { if (m_loadedCells.ContainsKey(cellId)) { - m_loadedCells[cellId].GetAll(list, false); + m_loadedCells[cellId].OverlapAllBoundingSphere(ref bounds, list, false); } else { MyProceduralCell cell = GenerateCellSeeds(cellId); - cell.GetAll(list, false); + cell.OverlapAllBoundingSphere(ref bounds, list, false); } } } diff --git a/SEWorldGenPlugin/Properties/AssemblyInfo.cs b/SEWorldGenPlugin/Properties/AssemblyInfo.cs index 904ff4b..c514c0c 100644 --- a/SEWorldGenPlugin/Properties/AssemblyInfo.cs +++ b/SEWorldGenPlugin/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, // indem Sie "*" wie unten gezeigt eingeben: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.1.6.8")] -[assembly: AssemblyFileVersion("2.1.6.8")] +[assembly: AssemblyVersion("2.1.6.9")] +[assembly: AssemblyFileVersion("2.1.6.9")]