diff options
author | Miller Puckette <millerpuckette@users.sourceforge.net> | 2006-08-11 20:09:07 +0000 |
---|---|---|
committer | Miller Puckette <millerpuckette@users.sourceforge.net> | 2006-08-11 20:09:07 +0000 |
commit | 173b4e7033e4fc902d20a3cc19e9198a61924f37 (patch) | |
tree | 7c0f909a98dab4bcda225d7fa478a8c721cbe00c /pd/src/g_template.c | |
parent | 9cba3b8fccf2f9d680d5ef7847689fe9cda2e294 (diff) |
Fixed to compile correctly on macosx 10.3, 10.4 and Windows.
svn path=/trunk/; revision=5566
Diffstat (limited to 'pd/src/g_template.c')
-rw-r--r-- | pd/src/g_template.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |