Instance dependency for particles was not being get rid of. Again fixes #15591
This commit is contained in:
parent
2dbd3475a5
commit
3a05d974e0
1 changed files with 1 additions and 0 deletions
|
@ -6950,6 +6950,7 @@ bool RasterizerStorageGLES3::free(RID p_rid) {
|
|||
memdelete(cls);
|
||||
} else if (particles_owner.owns(p_rid)) {
|
||||
Particles *particles = particles_owner.get(p_rid);
|
||||
particles->instance_remove_deps();
|
||||
particles_owner.free(p_rid);
|
||||
memdelete(particles);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue