[DEBUG] correct corner case bug
This commit is contained in:
parent
d3a58b2548
commit
045008a3c5
@ -121,7 +121,7 @@ void esvg::render::Weight::generate(ivec2 _size, int32_t _subSamplingCount, cons
|
||||
// find in the subList ...
|
||||
for (auto &it : availlableSegmentPixel) {
|
||||
if ( it.p0.y() <= subSamplingCenterPos
|
||||
&& it.p1.y() >= subSamplingCenterPos) {
|
||||
&& it.p1.y() > subSamplingCenterPos) {
|
||||
// check if we not get 2 identical lines:
|
||||
if ( availlableSegment.size() > 0
|
||||
&& availlableSegment.back().p1 == it.p0
|
||||
|
Loading…
x
Reference in New Issue
Block a user