Commit 30cf6312 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fixed garray regression with polygon style larger than 1000 elements

parent 9d1b0010
......@@ -5556,7 +5556,13 @@ static void plot_vis(t_gobj *z, t_glist *glist, t_glist *parentglist,
xpix = fielddesc_cvttocoord(xfielddesc, usexloc);
ixpix = xpix + 0.5;
if (xonset >= 0 || ixpix != lastpixel)
int render;
render = (int)(glist_xtopixels(glist, ixpix)) !=
(int)(glist_xtopixels(glist, lastpixel));
if (xonset >= 0 || render)
{
//sys_vgui("%d %f \\\n", ixpix,
// yloc + fielddesc_cvttocoord(yfielddesc,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment