diff --git a/Source/ROStations/ModuleROStations.cs b/Source/ROStations/ModuleROStations.cs index 5afe2e5..a9aef35 100644 --- a/Source/ROStations/ModuleROStations.cs +++ b/Source/ROStations/ModuleROStations.cs @@ -1164,7 +1164,8 @@ public void UpdateAvailableVariants() /// /// Calls the generic ROT procedural drag-cube updating routines. Will update the drag cubes for whatever the current model state is. /// - private void UpdateDragCubes() => ROLModInterop.OnPartGeometryUpdate(part, true); + private string ShapeKey => $"ROStations|{coreModule}|{upperModule}|{lowerModule}|{topModule}|{bottomModule}|{bodyRadialModule}|{upperRadialModule}|{lowerRadialModule}|{currentHabitat}|{currentVScale}|{currentDiameter}"; + private void UpdateDragCubes() => ROLModInterop.OnPartGeometryUpdate(part, ShapeKey); private float GetPartTopY() { diff --git a/Source/ROStations/ROStations.csproj b/Source/ROStations/ROStations.csproj index 58e3545..0f89ad3 100644 --- a/Source/ROStations/ROStations.csproj +++ b/Source/ROStations/ROStations.csproj @@ -9,7 +9,7 @@ Properties ROStations ROStations - v4.7.2 + v4.8 8.0 512 true @@ -50,8 +50,8 @@ prompt - - ..\..\..\..\KSP DLL\1.12.3\Assembly-CSharp.dll + + $(ReferencePath)/Assembly-CSharp.dll False @@ -66,24 +66,24 @@ - - ..\..\..\..\KSP DLL\1.12.3\TexturesUnlimited.dll + + $(ReferencePath)/TexturesUnlimited.dll False - - ..\..\..\..\KSP DLL\1.12.3\UnityEngine.CoreModule.dll + + $(ReferencePath)/UnityEngine.CoreModule.dll False - - ..\..\..\..\KSP DLL\1.12.3\UnityEngine.PhysicsModule.dll + + $(ReferencePath)/UnityEngine.PhysicsModule.dll False - - ..\..\..\..\KSP DLL\1.12.3\UnityEngine.UI.dll + + $(ReferencePath)/UnityEngine.UI.dll False - - ..\..\..\..\KSP DLL\1.12.3\UnityEngine.VehiclesModule.dll + + $(ReferencePath)/UnityEngine.VehiclesModule.dll False