Skip to content

perf: Optimize ModuleSystemHeatColorAnimator#172

Merged
Phantomical merged 3 commits into
KSPModStewards:masterfrom
Phantomical:opt-color-animator
May 28, 2026
Merged

perf: Optimize ModuleSystemHeatColorAnimator#172
Phantomical merged 3 commits into
KSPModStewards:masterfrom
Phantomical:opt-color-animator

Conversation

@Phantomical
Copy link
Copy Markdown
Contributor

We can't make this use material property blocks because that will conflict with upcoming work in shabby, but we can debounce the changes so that it only does the expensive part when there is a noticeable change in the output colour.

This one change basically eliminates the overhead of this module in the editor.

Before:
image

After:
image

We can't make this use material property blocks because that will
conflict with upcoming work in shabby, but we can debounce the changes
so that it only does the expensive part when there is a noticeable
change in the output colour.
@Phantomical Phantomical force-pushed the opt-color-animator branch from c43b73e to 5369cbe Compare May 12, 2026 02:26
@Phantomical Phantomical merged commit caa46e1 into KSPModStewards:master May 28, 2026
1 check passed
@Phantomical Phantomical deleted the opt-color-animator branch May 28, 2026 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant