<!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>&nbsp;</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.&nbsp; 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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=257421623-14022010>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( 
rendererContext.renderingStopped() 
)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</SPAN></FONT></DIV>
<DIV>&nbsp;</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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( mUpdateThreshold 
&gt; 0 &amp;&amp; 0 == featureCount % mUpdateThreshold 
)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; emit 
screenUpdateRequested();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
emit drawingProgress( featureCount, totalFeatures 
);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
qApp-&gt;processEvents();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else if ( featureCount % 1000 == 
0 )<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; emit 
drawingProgress( featureCount, totalFeatures 
);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
qApp-&gt;processEvents();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
}<BR>#else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Q_UNUSED( totalFeatures 
);<BR>#endif //Q_WS_MAC</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</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>&nbsp;</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? &nbsp;(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>&nbsp;</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>&nbsp;</DIV>
<DIV><STRONG>Thank you.</STRONG> <BR></DIV>
<HR>
</DIV>
</BODY></HTML>