I am converting a python  plugin the implements a subclass of 
QgsFeatureRenderer.  At the moment the plugin is dying on the startRender 
function with the message (from the base class)

"ASSERT failure in QgsFeatureRenderer::renderFeature: \"renderFeature called in 
a different thread - use a cloned renderer instead\"

I can't see where I should be creating the cloned renderer for the rendering.  
I had a look at the QgsSingleSymbolRenderer C++ code and I can't see anything 
there, so I'm wondering if the python implementation in some way corrupts the 
multiprocessing implementation.  Can anyone offer any suggestions

________________________________

This message contains information, which may be in confidence and may be 
subject to legal privilege. If you are not the intended recipient, you must not 
peruse, use, disseminate, distribute or copy this message. If you have received 
this message in error, please notify us immediately (Phone 0800 665 463 or 
[email protected]) and destroy the original message. LINZ accepts no 
responsibility for changes to this email, or for any attachments, after its 
transmission from LINZ. Thank You.
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to