Commit ab20233c authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix KisScanlineFill not to tounch point (0,0) on every fill

This patch fixes wery slow application of Magic Wand tool on big images.
The slowdown happened because KisScanlineFill write-accessed every dst
device at position (0,0), when initialized random accessors. It resulted
in dst device extent growing too much, therefore a lot of empty pixels
had to be porcessed at the later stages of contiguous selection.

parent 93bdd1d6
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment