Fix for dependency graph cycle print, regular "Parent" relation was
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 30 Oct 2008 16:03:38 +0000 (16:03 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 30 Oct 2008 16:03:38 +0000 (16:03 +0000)
incorrectly printed as "Curve Parent".

source/blender/blenkernel/intern/depsgraph.c

index 6914de29d43a99f60cf5d50a9cd2b0c2e7bcd43d..59619b25f8bbd2c7716bae15595a281f4e4d2086 100644 (file)
@@ -495,8 +495,8 @@ static void build_dag_object(DagForest *dag, DagNode *scenenode, Object *ob, int
                                        else
                                                dag_add_relation(dag,node2,node,DAG_RL_OB_OB, "Curve Parent");
                                }
-                                       else
-                                               dag_add_relation(dag,node2,node,DAG_RL_OB_OB, "Curve Parent");
+                               else
+                                       dag_add_relation(dag,node2,node,DAG_RL_OB_OB, "Parent");
                }
                /* exception case: parent is duplivert */
                if(ob->type==OB_MBALL && (ob->parent->transflag & OB_DUPLIVERTS)) {