From: Emden R. Gansner Date: Mon, 8 Jul 2013 15:21:58 +0000 (-0400) Subject: Re-initialize job->layerNum to zero with new graph. (27 Mar 2013) X-Git-Tag: LAST_LIBGRAPH~32^2~158^2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f96cba7fcec7bfaa99e1905b0472a5391bf3624;p=graphviz Re-initialize job->layerNum to zero with new graph. (27 Mar 2013) --- diff --git a/lib/common/emit.c b/lib/common/emit.c index 7fad8de25..c431ae610 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -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)