<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial><SPAN class=257421623-14022010>Hi
</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=257421623-14022010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=257421623-14022010>I'm using the V2
symbology and finding that it doesn't allow me to break out of the rendering
loop once it has started. When I open a large layer (several million
polygons), and they are all within the current extents, this means it can take a
long time to render, and I cannot do anything about it till it finishes
:-(</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=257421623-14022010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=257421623-14022010>I see in the old
symbology rendering loop (qgsvectorlayer.cpp, about 976) there is the following
code </SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=257421623-14022010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=257421623-14022010> if (
rendererContext.renderingStopped()
)<BR>
{<BR>
break;<BR> }</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=257421623-14022010>#ifndef Q_WS_MAC
//MH: disable this on Mac for now to avoid problems with
resizing<BR> if ( mUpdateThreshold
> 0 && 0 == featureCount % mUpdateThreshold
)<BR>
{<BR> emit
screenUpdateRequested();<BR>
emit drawingProgress( featureCount, totalFeatures
);<BR>
qApp->processEvents();<BR>
}<BR> else if ( featureCount % 1000 ==
0 )<BR>
{<BR> emit
drawingProgress( featureCount, totalFeatures
);<BR>
qApp->processEvents();<BR>
}<BR>#else<BR> Q_UNUSED( totalFeatures
);<BR>#endif //Q_WS_MAC</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=257421623-14022010>But looking in the
new symbology rendering loop (about line 721), there is no equivalent
code.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=257421623-14022010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=257421623-14022010>I'm just wondering
if there is any reason why this was left out? (And as an obvious
corollary, could it be put in!)</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=257421623-14022010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=257421623-14022010>Cheers</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=257421623-14022010>Chris
</SPAN></FONT></DIV>
<DIV>
<HR>
<DIV>This message contains information, which is confidential and may be subject
to legal privilege. <BR>If you are not the intended recipient, you must not
peruse, use, disseminate, distribute or copy this message.<BR>If you have
received this message in error, please notify us immediately (Phone 0800 665 463
or <A href="mailto:sinfo@linz.govt.nz">info@linz.govt.nz</A> ) and destroy the
original message.</DIV>
<DIV>LINZ accepts no responsibility for changes to this email, or for any
attachments, after its transmission from LINZ.</DIV>
<DIV> </DIV>
<DIV><STRONG>Thank you.</STRONG> <BR></DIV>
<HR>
</DIV>
</BODY></HTML>