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

Fix particles emitting when emitting is set to false in scene #10383

Merged
merged 1 commit into from
Aug 17, 2017

Conversation

bojidar-bg
Copy link
Contributor

Caused by #10297 calling particles_restart() on the same frame as the one set_emitting(false) is called.
The rasterizer would then wait a frame, and then set emitting back to true.

Just in case, I tested with all 4 emitting/one_shot configurations: emitting=false,one_shot=false, emitting=false,one_shot=true, emitting=true,one_shot=false, and emitting=true,one_shot=true. All are working well now (i.e., the first two don't emit anything, the other two emit, the forth one stops after a while)

Caused by godotengine#10297 calling particles_restart() on the same frame as the one set_emitting(false) is called. The rasterizer would wait a frame, and then set emitting back to true.
@bojidar-bg bojidar-bg added this to the 3.0 milestone Aug 16, 2017
@akien-mga akien-mga merged commit e2c1792 into godotengine:master Aug 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants