"Fix" for #17636 Crashing bug - won't open a file
[blender.git] / source / blender / blenkernel / intern / particle.c
index 2678608fb9a3f4a6c1ab9e05164d15968ddcd023..c9d16c0017fbbce553a67745a9e594251b064f27 100644 (file)
@@ -296,7 +296,7 @@ int psys_check_enabled(Object *ob, ParticleSystem *psys)
        ParticleSystemModifierData *psmd;
        Mesh *me;
 
-       if(psys->flag & PSYS_DISABLED)
+       if(psys->flag & PSYS_DISABLED || psys->flag & PSYS_DELETE)
                return 0;
 
        if(ob->type == OB_MESH) {