Skip to content

Conversation

@burstflare
Copy link
Contributor

No description provided.

@burstflare burstflare closed this Oct 20, 2024
@burstflare
Copy link
Contributor Author

Prevent crash from clicking color swatch in Particle editor

In the Particle Editor, under the Particles heading, the Color can be set. However clicking the color swatch next to the color picker button will cause a crash, as no Game.Data.CurrentPalette exists. This PR places a label stating no colors have been saved.

Preventing the crash was the primary reason -- was unsure of the intended use of Game.Data.CurrentPalette, i.e. if it would be used by other engine features.

Also -- thanks for your patience, still a github newbie.

@burstflare burstflare reopened this Oct 20, 2024
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