Fix for dependency graph cycle print, regular "Parent" relation was

incorrectly printed as "Curve Parent".
This commit is contained in:
Brecht Van Lommel 2008-10-30 16:03:38 +00:00
parent 4f39255759
commit baf98b098c

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