mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 11:26:11 +00:00
restore byteCount
This commit is contained in:
parent
70a61e4576
commit
cc9ab779f3
@ -200,7 +200,7 @@ void GLArea::pasteTile()
|
||||
if (snapBuffer.isNull())
|
||||
snapBuffer = QImage(tileBuffer.width() * ss.resolution, tileBuffer.height() * ss.resolution, tileBuffer.format());
|
||||
|
||||
uchar *snapPtr = snapBuffer.bits() + (tileBuffer.bytesPerLine() * tileCol) + ((totalCols * tileRow) * tileBuffer.sizeInBytes());
|
||||
uchar *snapPtr = snapBuffer.bits() + (tileBuffer.bytesPerLine() * tileCol) + ((totalCols * tileRow) * tileBuffer.byteCount());
|
||||
uchar *tilePtr = tileBuffer.bits();
|
||||
|
||||
for (int y=0; y < tileBuffer.height(); y++)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user