From ee585bceeb0f0383ebfdfdb593a2c274b64b1618 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Carlos=20S=C3=A1nchez=20de=20La=20Lama?= Date: Wed, 4 Mar 2015 11:44:40 +0100 Subject: [PATCH] Fix Issue #0002522: Rendering a clustered digraph twice produces different result (filled clusters). --- plugin/core/gvrender_core_tk.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugin/core/gvrender_core_tk.c b/plugin/core/gvrender_core_tk.c index 66dab5a0d..446217846 100644 --- a/plugin/core/gvrender_core_tk.c +++ b/plugin/core/gvrender_core_tk.c @@ -137,6 +137,8 @@ static void tkgen_begin_job(GVJ_t * job) gvputs(job, ")\n"); } +static int first_periphery; + static void tkgen_begin_graph(GVJ_t * job) { obj_state_t *obj = job->obj; @@ -147,9 +149,9 @@ static void tkgen_begin_graph(GVJ_t * job) gvputs(job, tkgen_string(agnameof(obj->u.g))); } gvprintf(job, " Pages: %d\n", job->pagesArraySize.x * job->pagesArraySize.y); -} -static int first_periphery; + first_periphery = 0; +} static void tkgen_begin_node(GVJ_t * job) { -- 2.50.1