Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
David MacDonald
purr-data
Commits
bd082680
Commit
bd082680
authored
Nov 09, 2017
by
Jonathan Wilkes
Browse files
use correct array reference for drawarray_vis elements
parent
90ac5004
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_template.c
View file @
bd082680
...
@@ -6893,13 +6893,13 @@ static void drawarray_vis(t_gobj *z, t_glist *glist, t_glist *parentglist,
...
@@ -6893,13 +6893,13 @@ static void drawarray_vis(t_gobj *z, t_glist *glist, t_glist *parentglist,
drawarray_groupvis(sc, glist,
drawarray_groupvis(sc, glist,
(t_word *)(elem + elemsize * i),
(t_word *)(elem + elemsize * i),
template, (t_glist *)y,
template, (t_glist *)y,
elemtemplatecanvas, usexloc, useyloc,
parent
array);
elemtemplatecanvas, usexloc, useyloc, array);
}
}
t_parentwidgetbehavior *wb = pd_getparentwidget(&y->g_pd);
t_parentwidgetbehavior *wb = pd_getparentwidget(&y->g_pd);
if (!wb) continue;
if (!wb) continue;
(*wb->w_parentvisfn)(y, glist, elemtemplatecanvas, sc,
(*wb->w_parentvisfn)(y, glist, elemtemplatecanvas, sc,
(t_word *)(elem + elemsize * i),
(t_word *)(elem + elemsize * i),
elemtemplate, usexloc, useyloc,
parent
array, tovis);
elemtemplate, usexloc, useyloc, array, tovis);
}
}
}
}
}
}
...
@@ -6927,7 +6927,7 @@ static void drawarray_vis(t_gobj *z, t_glist *glist, t_glist *parentglist,
...
@@ -6927,7 +6927,7 @@ static void drawarray_vis(t_gobj *z, t_glist *glist, t_glist *parentglist,
if (!wb) continue;
if (!wb) continue;
(*wb->w_parentvisfn)(y, glist, elemtemplatecanvas, sc,
(*wb->w_parentvisfn)(y, glist, elemtemplatecanvas, sc,
(t_word *)(elem + elemsize * i), elemtemplate,
(t_word *)(elem + elemsize * i), elemtemplate,
0, 0,
parent
array, 0);
0, 0, array, 0);
}
}
}
}
/* Now remove our drawarray svg container */
/* Now remove our drawarray svg container */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment