From 7fc5cdf1180cbb7a6b61b9837fbb3f12bdb8ac9f Mon Sep 17 00:00:00 2001 From: JonnyOThan Date: Thu, 1 Feb 2024 14:26:56 -0500 Subject: [PATCH] Workaround for #191: disable BetterEditorUndoRedo when TweakScale/L is installed --- GameData/KSPCommunityFixes/KSPCommunityFixes.version | 2 +- .../KSPCommunityFixes/MMPatches/ModSupport/TweakScale.cfg | 6 ++++++ KSPCommunityFixes/Properties/AssemblyInfo.cs | 4 ++-- README.md | 5 ++++- 4 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 GameData/KSPCommunityFixes/MMPatches/ModSupport/TweakScale.cfg diff --git a/GameData/KSPCommunityFixes/KSPCommunityFixes.version b/GameData/KSPCommunityFixes/KSPCommunityFixes.version index 84587b4..f956461 100644 --- a/GameData/KSPCommunityFixes/KSPCommunityFixes.version +++ b/GameData/KSPCommunityFixes/KSPCommunityFixes.version @@ -2,7 +2,7 @@ "NAME": "KSPCommunityFixes", "URL": "https://raw.githubusercontent.com/KSPModdingLibs/KSPCommunityFixes/master/GameData/KSPCommunityFixes/KSPCommunityFixes.version", "DOWNLOAD": "https://github.com/KSPModdingLibs/KSPCommunityFixes/releases", - "VERSION": {"MAJOR": 1, "MINOR": 34, "PATCH": 0, "BUILD": 0}, + "VERSION": {"MAJOR": 1, "MINOR": 34, "PATCH": 1, "BUILD": 0}, "KSP_VERSION": {"MAJOR": 1, "MINOR": 12, "PATCH": 5}, "KSP_VERSION_MIN": {"MAJOR": 1, "MINOR": 8, "PATCH": 0}, "KSP_VERSION_MAX": {"MAJOR": 1, "MINOR": 12, "PATCH": 5} diff --git a/GameData/KSPCommunityFixes/MMPatches/ModSupport/TweakScale.cfg b/GameData/KSPCommunityFixes/MMPatches/ModSupport/TweakScale.cfg new file mode 100644 index 0000000..6e3bce6 --- /dev/null +++ b/GameData/KSPCommunityFixes/MMPatches/ModSupport/TweakScale.cfg @@ -0,0 +1,6 @@ +// https://github.com/KSPModdingLibs/KSPCommunityFixes/issues/191 + +@KSP_COMMUNITY_FIXES:NEEDS[KSPE.LIGHT.TWEAKSCALE] +{ + @BetterEditorUndoRedo = false +} \ No newline at end of file diff --git a/KSPCommunityFixes/Properties/AssemblyInfo.cs b/KSPCommunityFixes/Properties/AssemblyInfo.cs index 99fe3fb..fb18da3 100644 --- a/KSPCommunityFixes/Properties/AssemblyInfo.cs +++ b/KSPCommunityFixes/Properties/AssemblyInfo.cs @@ -30,7 +30,7 @@ // Revision // [assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.34.0.0")] +[assembly: AssemblyFileVersion("1.34.1.0")] -[assembly: KSPAssembly("KSPCommunityFixes", 1, 34, 0)] +[assembly: KSPAssembly("KSPCommunityFixes", 1, 34, 1)] [assembly: KSPAssemblyDependency("MultipleModulePartAPI", 1, 0, 0)] diff --git a/README.md b/README.md index 0979ffc..595aa4a 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ User options are available from the "ESC" in-game settings menu :
Add a button for hiding/showing the stock toolbar. Also allow accessing the toolbar while in the space center facilities windows (mission control, admin building, R&D...). - **ResourceLockActions** [KSP 1.8.0 - 1.12.5]
Add part actions for locking/unlocking resources flow state. -- [**BetterEditorUndoRedo**](https://github.com/KSPModdingLibs/KSPCommunityFixes/issues/172) [KSP 1.12.3 - 1.12.5]
Invert the editor undo state capturing logic so part tweaks aren't lost when undoing. +- [**BetterEditorUndoRedo**](https://github.com/KSPModdingLibs/KSPCommunityFixes/issues/172) [KSP 1.12.3 - 1.12.5]
Invert the editor undo state capturing logic so part tweaks aren't lost when undoing. NOTE: this patch is disabled when TweakScale/L is installed. #### Performance tweaks @@ -188,6 +188,9 @@ If doing so in the `Debug` configuration and if your KSP install is modified to ### Changelog +##### 1.34.1 +- Disable BetterEditorUndoRedo when TweakScale/L is installed due to introducing a bug with part attachments in the editor. + ##### 1.34.0 - New KSP QoL/performance patch : [**LowerMinPhysicsDTPerFrame**](https://github.com/KSPModdingLibs/KSPCommunityFixes/issues/175) : Allow a min value of 0.02 instead of 0.03 for the "Max Physics Delta-Time Per Frame" main menu setting. This allows for higher and smoother framerate at the expense of the game lagging behind real time. This was already possible by manually editing the `settings.cfg` file, but changes would revert when going into the settings screen. - New KSP QoL patch : [**BetterEditorUndoRedo**](https://github.com/KSPModdingLibs/KSPCommunityFixes/issues/172) : Invert the editor undo state capturing logic so part tweaks aren't lost when undoing.