Fix for [#27398] Particle systems with animated groups render incorrectly in viewport
authorJanne Karhu <jhkarh@gmail.com>
Sun, 10 Jul 2011 23:49:59 +0000 (23:49 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Sun, 10 Jul 2011 23:49:59 +0000 (23:49 +0000)
* Hmph.. depsgraph and group duplication == illogical.

source/blender/blenkernel/intern/depsgraph.c

index c2800410657a83a602c6309cf34a502321f33e11..d39be9d683c6e645b1c53763597d8e38adad2d89 100644 (file)
@@ -599,7 +599,7 @@ static void build_dag_object(DagForest *dag, DagNode *scenenode, Scene *scene, O
                        if(part->ren_as == PART_DRAW_GR && part->dup_group) {
                                for(go=part->dup_group->gobject.first; go; go=go->next) {
                                        node2 = dag_get_node(dag, go->ob);
-                                       dag_add_relation(dag, node, node2, DAG_RL_OB_OB, "Particle Group Visualisation");
+                                       dag_add_relation(dag, node2, node, DAG_RL_OB_OB, "Particle Group Visualisation");
                                }
                        }