forgot this for loop, wasn't a bad issue though
This commit is contained in:
parent
b221c07e97
commit
04ebb1e1f9
@ -69,6 +69,9 @@ void addPixelToSelectedZone(Image *t_img, int64_t t_idx, Zone *t_zone) {
|
|||||||
for (; left_limit <= right_limit; ++left_limit) {
|
for (; left_limit <= right_limit; ++left_limit) {
|
||||||
addPixelToSelectedZone(t_img, t_idx + t_img->sizeX, t_zone);
|
addPixelToSelectedZone(t_img, t_idx + t_img->sizeX, t_zone);
|
||||||
}
|
}
|
||||||
|
for (; left_limit <= right_limit; ++left_limit) {
|
||||||
|
addPixelToSelectedZone(t_img, t_idx - t_img->sizeX, t_zone);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user