]> granicus.if.org Git - graphviz/commitdiff
Re-initialize job->layerNum to zero with new graph. (27 Mar 2013)
authorEmden R. Gansner <erg@research.att.com>
Mon, 8 Jul 2013 15:21:58 +0000 (11:21 -0400)
committerEmden R. Gansner <erg@research.att.com>
Mon, 8 Jul 2013 15:21:58 +0000 (11:21 -0400)
lib/common/emit.c

index 7fad8de25589f61da1215b6ce086c5c090cd3add..c431ae610237b4ce7a5560aeae83c3eb2cb65ec7 100644 (file)
@@ -3468,6 +3468,7 @@ fprintf(stderr,"focus=%g,%g view=%g,%g\n",
 #endif
     gvrender_comment(job, s);
 
+    job->layerNum = 0;
     emit_begin_graph(job, g);
 
     if (flags & EMIT_COLORS)