Skip to content

perf: Optimize ModuleSystemHeatColorAnimator#172

Open
Phantomical wants to merge 2 commits into
KSPModStewards:masterfrom
Phantomical:opt-color-animator
Open

perf: Optimize ModuleSystemHeatColorAnimator#172
Phantomical wants to merge 2 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
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