diff options
| author | Pedro J. Estébanez | 2017-03-20 19:36:43 +0100 |
|---|---|---|
| committer | Pedro J. Estébanez | 2017-03-20 19:47:25 +0100 |
| commit | 98ba3db502d674896cc9992818aae908db9647fa (patch) | |
| tree | 6121f2ce399f45a846f323fba1ce6f29d5af9e60 | |
| parent | f8db8a3faa30b71dca33ced38be16d3f93f43e8a (diff) | |
| download | godot-98ba3db502d674896cc9992818aae908db9647fa.tar.gz godot-98ba3db502d674896cc9992818aae908db9647fa.tar.zst godot-98ba3db502d674896cc9992818aae908db9647fa.zip | |
Fix Particles2D process mode back-compat issue
| -rw-r--r-- | scene/2d/particles_2d.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/2d/particles_2d.cpp b/scene/2d/particles_2d.cpp index d2c8faad0..7c6a67a68 100644 --- a/scene/2d/particles_2d.cpp +++ b/scene/2d/particles_2d.cpp @@ -453,6 +453,9 @@ void Particles2D::_notification(int p_what) { case NOTIFICATION_ENTER_TREE: { + // For projects saved before "process_mode" was introduced + set_process_mode(process_mode); + float ppt = preprocess; while (ppt > 0) { _process_particles(0.1); |
