New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attachment Points are not being scaled (or being reset) after changing the Variant #307
Comments
I reproduced it down to KSP 1.4.3 - way before all of that crap that plagued KSP later. It's something on TweakScale, I'm probably forgetting to do something on the |
…ed **after** chaning its variant. For #307
Fixed on commit ad9b8db This one worths some digging, see next posts for details. |
This is how I "fixed" the problem:
The
So, what I changed is to tell the I really never understood why this option ever existed at all, it always puzzled me why the original author decided to calculate the new positions from the current ones, instead of getting the original values from Anyway, I decided to track down this damn thing downto the root. TweakScale was heavily refactored on all these years, and so this tracking can be somwhat cumbersome - and my decision to create specialized DLLs for each KSP version, besides hugelly improving the versioning and tracking of KSP features and changes, didn't exactly helped me on this task. :) Anyway, I tracked down the first time this method, The method's signature and function didn't changed, only the name. So from now on I will dig for the So I kept digging and found this commit 8f2a9f6 where the
And we found the birth of the Oh, boy, I had fought with it for some time too. :D This commit happened when the KSP version on the wild was the 0.90, released 9 days before the commit. And logic says that this probably ws needed due a change from the previous KSP version, 0.25 . The 0.90 Change Log, however, doesn't gave me any concrete hint about the need for the change:
But I would bet (based on my previous experiences on this field) that it was something that changed due the "Editor overhaul" task. :) Well, this was fun. Really - I like to dig on the commit history to see why things were done the way they were done. As George Santayana said once:
Guess what? He was right. :D |
For the records: this is not intended to be a "finger pointing" fest. This is a learning journey, I wanted to know why things developed this way, and I did! :) My best guess at this moment (as, as usual, my window for toying with KSP is closing again) is that the relative scalings and movings were due:
Knowing as I do now why things are what they are (probably), I'm reasonably sure that I should remove all the "relative" calculations after all (i.e., everything should scale and mode with |
…ed **after** chaning its variant. For #307
…ed **after** chaning its variant. For #307
…ed **after** chaning its variant. For #307
Reopening, as I need to fix this again but without triggering yet another Editor bug (see #314 for the consequences). |
Quoting myself from #314 (comment) :
|
Commit b746ac1 fixes this issue, but created another one: the Cloning process is now screwed. This suggests that the cloning support is flawed, and need to be redone. |
Oukey, finally understood the problem. I screwed up the fix for #261 on this commit: Reverting it fixed the problem for KSP <= 1.7.3, but it persisted slightly different on KSP >= 1.8 . Issue #261 ended up in regression too for KSP >= 1.8, and this strongly suggests that:
So many things changed since removing the 1.8 DLL that it's probably a better idea to recreate it from scratch... |
This issue is blocked by #319 |
The commit af45cc5 properly handles the situation - it was a mishap on the cloning process all the time! |
Task #319 was finished. Unblocking this. |
As reported by Fellow Kerbonaut Krazy1 on Forum:
I reproduced it on my 1.12.5 ACP test bed, ruling out 3rd parties influence on the problem. So it's something on TweakScale or perhaps KSP-Recall - but I need to do regression tests on previous KSP versions to be sure it's not a yet new bug on KSP 1.12.x.
The text was updated successfully, but these errors were encountered: