Ticket #2740 (closed defect: fixed)
Cutline with blend don't blend correctly for some pixel rows
| Reported by: | asgerpetersen | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6.1 |
| Component: | Algorithms | Version: | 1.6.0 |
| Severity: | normal | Keywords: | cutline blending |
| Cc: |
Description
I think
int iY, iX;
double dfLastDist = 0;
for( iY = 0; iY < nYSize; iY++ )
{
for( iX = 0; iX < nXSize; iX++ )
should be
int iY, iX;
double dfLastDist;
for( iY = 0; iY < nYSize; iY++ )
{
dfLastDist = 0;
for( iX = 0; iX < nXSize; iX++ )
To reset the distance shortcut when processing a new row. Otherwise odd blending results occur.
Change History
Note: See
TracTickets for help on using
tickets.
