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

Set particles emitting to false when particles finish emitting with one-shot enabled #14971

Merged
1 commit merged into from
Dec 27, 2017

Conversation

mrcdk
Copy link
Contributor

@mrcdk mrcdk commented Dec 23, 2017

Particles nodes couldn't know if they were emitting or not #12218

With this change, whenever the user checks emitting on the node it will query the visual server to get if the emitter is emitting or not.

I've removed the internal emitting variables from scene/2d/particles_2d and scene/3d/particles because they use the visual server to know the state of it.

Fixes #12218

@ghost ghost added this to the 3.0 milestone Dec 23, 2017
@ghost ghost merged commit 5c63687 into godotengine:master Dec 27, 2017
@mrcdk mrcdk deleted the particles_emitting branch February 1, 2018 17:56
This pull request was closed.
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.

1 participant