Fix Particles2D process mode back-compat issue
This commit is contained in:
parent
f8db8a3faa
commit
98ba3db502
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue