Re: [QGIS-Developer] QGIS3: Python QgsFeatureRenderer subclass problem

2018-02-13 Thread Chris Crook
51 To: Chris Crook Cc: qgis-developer@lists.osgeo.org Subject: Re: [QGIS-Developer] QGIS3: Python QgsFeatureRenderer subclass problem On 11 February 2018 at 21:07, Chris Crook wrote: > Hi Nyall > > The code is on github .. > > https://github.com/ccrook/QGIS-VectorFieldRenderer-P

Re: [QGIS-Developer] QGIS3: Python QgsFeatureRenderer subclass problem

2018-02-12 Thread Nyall Dawson
On 11 February 2018 at 21:07, Chris Crook wrote: > Hi Nyall > > The code is on github .. > > https://github.com/ccrook/QGIS-VectorFieldRenderer-Plugin/tree/qgis3_wip > > I've documented this in issue 8 at: > > https://github.com/ccrook/QGIS-VectorFieldRenderer-Plugin/issues/8 > > Any thoughts woul

Re: [QGIS-Developer] QGIS3: Python QgsFeatureRenderer subclass problem

2018-02-11 Thread Chris Crook
Chris From: Nyall Dawson [nyall.daw...@gmail.com] Sent: 08 February 2018 10:53 To: Chris Crook Cc: qgis-developer@lists.osgeo.org Subject: Re: [QGIS-Developer] QGIS3: Python QgsFeatureRenderer subclass problem On 8 February 2018 at 05:44, Chris Crook wrote: > I am converting a python

Re: [QGIS-Developer] QGIS3: Python QgsFeatureRenderer subclass problem

2018-02-07 Thread Chris Crook
Continued: Ok, understand a bit more now. Still not sure where the clone should be created but if the same renderer is called from more than one thread, as the first time startRender is called it sets the thread id for the rendererer, and thereafter cannot be called with a different thread id.

Re: [QGIS-Developer] QGIS3: Python QgsFeatureRenderer subclass problem

2018-02-07 Thread Nyall Dawson
On 8 February 2018 at 05:44, Chris Crook wrote: > 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: