From: Emden R. Gansner Date: Sat, 13 Jun 2015 21:02:49 +0000 (-0400) Subject: Don't reset the traversal type with each BEG_G. This would overwrite X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~109^2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b2e94d93b32fcd79ca77202f0ee9254bb6a5375;p=graphviz Don't reset the traversal type with each BEG_G. This would overwrite any setting of it in the BEGIN section. This state should be in control of the gvpr script after the default is set. Revert change 909e4b433d24bce1d68e08be3eb429df15e12f26 --- diff --git a/lib/gvpr/gvpr.c b/lib/gvpr/gvpr.c index d0cfd4c8a..ab0da5621 100644 --- a/lib/gvpr/gvpr.c +++ b/lib/gvpr/gvpr.c @@ -1045,7 +1045,6 @@ int gvpr (int argc, char *argv[], gvpropts * uopts) state->curgraph = (Agraph_t*)clone (0, (Agobj_t*)(state->curgraph)); state->curobj = (Agobj_t *) state->curgraph; state->tvroot = 0; - state->tvt = TV_flat; if (bp->begg_stmt) exeval(xprog->prog, bp->begg_stmt, state);