Regression in 1.4.1

Boudewijn Rempt boud at valdyas.org
Sun Jul 31 16:52:09 CEST 2005


On Sunday 31 July 2005 16:46, Boudewijn Rempt wrote:

> Doesn't look like it... And Krita doesn't take more and more memory either,
> so it must hang in some really tight loop. I guess I'll have to give up
> resistance and start using a real debugger here!

The plot is getting thicker... It's somewhere inside 


KisTiledHLineIterator::KisTiledHLineIterator( KisTiledDataManager *ndevice,  
Q_INT32 x, Q_INT32 y, Q_INT32 w, bool writable) :
	KisTiledIterator(ndevice),
	m_right(x+w-1), m_left(x)
{
	kdDebug() << "Creating hline iterator\n";
	Q_ASSERT(ndevice != 0);

	m_writable = writable;
	m_x = x;
	m_y = y;

	// Find tile row,col matching x,y
	m_row = yToRow(m_y);
	m_leftCol = xToCol(m_x);
	m_rightCol = xToCol(m_right);
	m_col = m_leftCol;

	// calc limits within the tile
	m_yInTile = m_y - m_row * KisTile::HEIGHT;
	m_leftInTile = m_x - m_leftCol * KisTile::WIDTH;

	if(m_col == m_rightCol)
		m_rightInTile = m_right - m_rightCol * KisTile::WIDTH;
	else
		m_rightInTile = KisTile::WIDTH - 1;

	m_xInTile = m_leftInTile;

	fetchTileData(m_col, m_row);
	m_offset = m_pixelSize * (m_yInTile * KisTile::WIDTH + m_xInTile);

	kdDebug() << "Creating hline iterator\n";
}


-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20050731/e83619e6/attachment.pgp


More information about the kimageshop mailing list