+ revert as it was breaking polygons in some cases
This commit is contained in:
parent
617542c136
commit
997e807f3d
1 changed files with 2 additions and 3 deletions
5
deps/agg/include/agg_clip_liang_barsky.h
vendored
5
deps/agg/include/agg_clip_liang_barsky.h
vendored
|
@ -200,14 +200,13 @@ namespace agg
|
|||
*x++ = (T)(x1 + touty * deltax);
|
||||
*y++ = (T)yout;
|
||||
}
|
||||
++np;
|
||||
}
|
||||
else if(*x != x2 && *y != y2)
|
||||
else
|
||||
{
|
||||
*x++ = x2;
|
||||
*y++ = y2;
|
||||
++np;
|
||||
}
|
||||
++np;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue