forked from bartvdbraak/blender
actually, this if is still marginally good to have
This commit is contained in:
parent
a33a26ca07
commit
a9d9a8e569
@ -397,10 +397,10 @@ void IMB_filter_extend(struct ImBuf *ibuf, char *mask, int filter)
|
|||||||
float acc[4]={0,0,0,0};
|
float acc[4]={0,0,0,0};
|
||||||
k = 0;
|
k = 0;
|
||||||
|
|
||||||
/*if (check_pixel_assigned(srcbuf, srcmask, filter_make_index(x-1, y, width, height), depth, is_float) ||
|
if (check_pixel_assigned(srcbuf, srcmask, filter_make_index(x-1, y, width, height), depth, is_float) ||
|
||||||
check_pixel_assigned(srcbuf, srcmask, filter_make_index(x+1, y, width, height), depth, is_float) ||
|
check_pixel_assigned(srcbuf, srcmask, filter_make_index(x+1, y, width, height), depth, is_float) ||
|
||||||
check_pixel_assigned(srcbuf, srcmask, filter_make_index(x, y-1, width, height), depth, is_float) ||
|
check_pixel_assigned(srcbuf, srcmask, filter_make_index(x, y-1, width, height), depth, is_float) ||
|
||||||
check_pixel_assigned(srcbuf, srcmask, filter_make_index(x, y+1, width, height), depth, is_float))*/ {
|
check_pixel_assigned(srcbuf, srcmask, filter_make_index(x, y+1, width, height), depth, is_float)) {
|
||||||
for(i= -n; i<=n; i++) {
|
for(i= -n; i<=n; i++) {
|
||||||
for(j=-n; j<=n; j++) {
|
for(j=-n; j<=n; j++) {
|
||||||
if(i != 0 || j != 0) {
|
if(i != 0 || j != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user