Instance dependency for particles was not being get rid of. Again fixes #15591
This commit is contained in:
parent
2dbd3475a5
commit
3a05d974e0
|
@ -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 New Issue