Skip to content

Remove constant overhead from ModuleColorChanger.Update()#304

Merged
gotmachine merged 1 commit into
devfrom
ModuleColorChangerOptimization
Jun 8, 2025
Merged

Remove constant overhead from ModuleColorChanger.Update()#304
gotmachine merged 1 commit into
devfrom
ModuleColorChangerOptimization

Conversation

@gotmachine
Copy link
Copy Markdown
Contributor

See issue #302

Mostly eliminate the constant overhead from ModuleColorChanger.Update() by avoiding re-setting the shader property when the state hasn't changed.

…etting the shader property when the state hasn't changed
@gotmachine gotmachine added the kspPerformance Possible performance improvement in KSP label Mar 16, 2025
Base automatically changed from dev to master April 4, 2025 19:39
@gotmachine gotmachine changed the base branch from master to dev June 8, 2025 13:07
@gotmachine gotmachine merged commit 431769f into dev Jun 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kspPerformance Possible performance improvement in KSP

Development

Successfully merging this pull request may close these issues.

1 participant