diff --git a/Source/Plugin/ModuleRORCS.cs b/Source/Plugin/ModuleRORCS.cs index ddd795c5..93b14e1a 100644 --- a/Source/Plugin/ModuleRORCS.cs +++ b/Source/Plugin/ModuleRORCS.cs @@ -328,7 +328,9 @@ private void UpdateAttachNodes(bool userInput) } } - private void UpdateDragCubes() => ROLModInterop.OnPartGeometryUpdate(part, true); + private void UpdateDragCubes() => ROLModInterop.OnPartGeometryUpdate(part, ShapeKey); + + private string ShapeKey => $"RORCS|{currentType}|{currentRCSModel}|{currentBase}|{currentLayout}|{currentScale}"; public void OnModelSelectionChanged(BaseField f, object o) { diff --git a/Source/Plugin/Properties/AssemblyInfo.cs b/Source/Plugin/Properties/AssemblyInfo.cs index 8b800cae..80805675 100644 --- a/Source/Plugin/Properties/AssemblyInfo.cs +++ b/Source/Plugin/Properties/AssemblyInfo.cs @@ -42,4 +42,4 @@ [assembly: KSPAssembly("ROEngines", 2, 0)] #endif -//[assembly: KSPAssemblyDependency("ROLib", 1, 0)] Uncomment at a later date when ROLib with KSPAssembly attribute has gotten a release or 2 +[assembly: KSPAssemblyDependency("ROLib", 2, 0)]