Commit 17c75646 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.

parent a4dfa04c
Pipeline #232934 passed with stage
in 65 minutes and 19 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