From 2d99a55614896c1b0d06b0710f5b6a50d384c126 Mon Sep 17 00:00:00 2001 From: panic-7700 Date: Thu, 30 Apr 2026 16:27:31 +0300 Subject: [PATCH 1/3] update csproj to follow conventions in other RO projects; working on Linux w/Rider --- Source/ROStations/ROStations.csproj | 38 +++++++++++++++++++---------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/Source/ROStations/ROStations.csproj b/Source/ROStations/ROStations.csproj index 58e3545..cdade67 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 @@ -93,5 +93,17 @@ + + + + + + + This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.The missing file is {0}. + + + + + \ No newline at end of file From b73b483da0b9b440de2ff7843e58ea2501da9e66 Mon Sep 17 00:00:00 2001 From: panic-7700 Date: Thu, 30 Apr 2026 16:32:52 +0300 Subject: [PATCH 2/3] update syntax for `UpdateDragCubes` call. DragCubeTool seems to be logging changes correctly. --- Source/ROStations/ModuleROStations.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() { From 1d3695648fd1f635c7bc4a48416f2f75f484ac49 Mon Sep 17 00:00:00 2001 From: panic-7700 Date: Thu, 30 Apr 2026 16:50:24 +0300 Subject: [PATCH 3/3] fix inclusion of assemblies from nuget --- Source/ROStations/ROStations.csproj | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Source/ROStations/ROStations.csproj b/Source/ROStations/ROStations.csproj index cdade67..0f89ad3 100644 --- a/Source/ROStations/ROStations.csproj +++ b/Source/ROStations/ROStations.csproj @@ -93,17 +93,5 @@ - - - - - - - This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.The missing file is {0}. - - - - - \ No newline at end of file