fix transparency detection in merge
a typo meant we were just testing the first band for zero, not all three thanks Haida!
This commit is contained in:
parent
a3b226aa9b
commit
58f9757467
@ -1,4 +1,5 @@
|
|||||||
2/8/17 started 8.5.8
|
2/8/17 started 8.5.8
|
||||||
|
- fix transparency detection in merge, thanks Haida
|
||||||
|
|
||||||
9/6/17 started 8.5.7
|
9/6/17 started 8.5.7
|
||||||
- better smartcrop
|
- better smartcrop
|
||||||
|
@ -392,7 +392,7 @@ make_firstlast( MergeInfo *inf, Overlapping *ovlap, Rect *oreg )
|
|||||||
int ii; \
|
int ii; \
|
||||||
\
|
\
|
||||||
for( ii = 0; ii < cb; ii++ ) \
|
for( ii = 0; ii < cb; ii++ ) \
|
||||||
if( tt[i] ) \
|
if( tt[ii] ) \
|
||||||
break; \
|
break; \
|
||||||
if( ii == cb ) \
|
if( ii == cb ) \
|
||||||
(RESULT) = 1; \
|
(RESULT) = 1; \
|
||||||
|
@ -335,7 +335,7 @@ make_firstlast( MergeInfo *inf, Overlapping *ovlap, Rect *oreg )
|
|||||||
int ii; \
|
int ii; \
|
||||||
\
|
\
|
||||||
for( ii = 0; ii < cb; ii++ ) \
|
for( ii = 0; ii < cb; ii++ ) \
|
||||||
if( tt[i] ) \
|
if( tt[ii] ) \
|
||||||
break; \
|
break; \
|
||||||
if( ii == cb ) \
|
if( ii == cb ) \
|
||||||
(RESULT) = 1; \
|
(RESULT) = 1; \
|
||||||
|
Loading…
Reference in New Issue
Block a user