<div dir="ltr">Bump</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 7, 2013 at 2:07 PM, Pietro Panzeri <span dir="ltr"><<a href="mailto:pietro.panzeri@treuropa.com" target="_blank">pietro.panzeri@treuropa.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi everyone,<br><div><div><br></div><div>I'm using QGIS 2.0.1-Dufour from the repository ubuntugis-unstable.</div>
<div><br></div><div>I have a plugin that is used to translate a vector layer with a shift "delta_x" and "delta_y".</div>
<div>To do this I use the function translateFeature() as you can see from the code below:</div><div><br></div><div>vlayer = iface.activeLayer()</div><div><br></div><div>feature = QgsFeature() </div><div><br></div><div>for feature in vlayer.getFeatures():</div>

<div>    vlayer.translateFeature(<a href="http://feature.id" target="_blank">feature.id</a>(), delta_x, delta_y)</div><div><br></div><div><br></div><div><br></div><div>For every translated feature, the following message is displayed on the screen:</div>

<div><br></div><div>undo index changed 1</div><div>undo index changed 2</div><div>undo index changed 3</div><div>...</div><div><br></div><div><br></div><div>and the plugin execution seems very slow compared to same run under version QGIS 1.6.0-Copiapò.</div>

<div>Looking at the source code it seems that the message is sent through Qdebug().</div><div>This means that the QGIS was compiled with debug system activated?</div><div>How do I get a non-debug version?</div><div><br></div>

<div>Thanks</div></div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br>Pietro Panzeri<br><br><br>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Pietro Panzeri<br><br>Software Development Manager<br><br>Tele-Rilevamento Europa - T.R.E. srl<div><div>Ripa di Porta Ticinese, 79</div><div>20143 Milano – Italia</div>
</div><div>Tel.: +39.02.4343.121 - Fax: +39.02.4343.1230</div><div><a href="mailto:pietro.panzeri@treuropa.com" target="_blank">pietro.panzeri@treuropa.com</a> - <a href="http://www.treuropa.com" target="_blank">www.treuropa.com</a></div>

</div>