Merge pull request #8091 from RandomShaper/fix-particles-2d-2.1
Fix Particles2D process mode back-compat issue (2.1)
This commit is contained in:
commit
9c75b9dddf
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