Commit 2b786cee authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Fix extra line visible on thums when loading a 512x512 PSD file

The hline iterators automatically cache the full pixel line on
nextRow() call, which would add to the extent() of the device.


(cherry picked from commit 17c75646)
parent 95386190
Pipeline #232935 canceled with stage
in 66 minutes and 28 seconds
......@@ -393,7 +393,12 @@ void readCommon(KisPaintDeviceSP dev,
pixelFunc(channelSize, channelBytes, col, it->rawData());
/// don't write-access the row right after the
/// the end of the read area
if (i < layerRect.height() - 1) {
Supports Markdown
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