Particle ID block controls:
[blender.git] / source / blender / blenkernel / intern / depsgraph.c
index b57b8b7a6da1878d0d371007dd8898f790e94d9b..a36b825293e2793398940139394a324cb22d74fa 100644 (file)
@@ -559,7 +559,7 @@ static void build_dag_object(DagForest *dag, DagNode *scenenode, Scene *scene, O
 
                        dag_add_relation(dag, node, node, DAG_RL_OB_DATA, "Particle-Object Relation");
 
-                       if(psys->flag & PSYS_DISABLED || psys->flag & PSYS_DELETE)
+                       if(!psys_check_enabled(ob, psys))
                                continue;
 
                        if(part->phystype==PART_PHYS_KEYED && psys->keyed_ob &&