Skip to content
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

Correctly reset particle size and rotation in ParticlesProcessMaterial #78021

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

clayjohn
Copy link
Member

@clayjohn clayjohn commented Jun 8, 2023

Fixes: #55396
Fixes: #68809

Supercedes: #55397 (rebased and addressed comments)

The original issue was caused by particle scale persisting after the particle is reset. Local testing showed that the same issue was occurring with particle rotation as well. So both scale and rotation need to be reset when flagged to do so.

Thanks to @RPicster for figuring out the correct fix in the first place!

@akien-mga akien-mga merged commit 082cfd5 into godotengine:master Jun 9, 2023
@akien-mga
Copy link
Member

Thanks!

@EzraT
Copy link

EzraT commented Jun 9, 2023

Thank you!

@clayjohn clayjohn deleted the Particles-size-rot-reset branch June 9, 2023 16:52
@YuriSizov
Copy link
Contributor

Cherry-picked for 4.0.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants