From 173b4e7033e4fc902d20a3cc19e9198a61924f37 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Fri, 11 Aug 2006 20:09:07 +0000 Subject: Fixed to compile correctly on macosx 10.3, 10.4 and Windows. svn path=/trunk/; revision=5566 --- pd/src/g_template.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pd/src/g_template.c') diff --git a/pd/src/g_template.c b/pd/src/g_template.c index b2b359d3..a1e8882f 100644 --- a/pd/src/g_template.c +++ b/pd/src/g_template.c @@ -1634,8 +1634,8 @@ static void plot_vis(t_gobj *z, t_glist *glist, if (plot_readownertemplate(x, data, template, &elemtemplatesym, &array, &linewidth, &xloc, &xinc, &yloc, &style, &vis, &scalarvis, &xfielddesc, &yfielddesc, &wfielddesc) || - (vis == 0) || - array_getfields(elemtemplatesym, &elemtemplatecanvas, + ((vis == 0) && tovis) /* FIXME - why is 'tovis' flag necessary? */ + || array_getfields(elemtemplatesym, &elemtemplatecanvas, &elemtemplate, &elemsize, xfielddesc, yfielddesc, wfielddesc, &xonset, &yonset, &wonset)) return; -- cgit v1.2.1