On Wed, Dec 18, 2013 at 5:35 PM, Radim Blazek radim.bla...@gmail.com wrote:
Thanks for the explanation. Keeping reference to the object returned
by canvas.mapRenderer() helps.
Are you going to fix those problems?
Not now (busy with other things)... but the only thing I can think of
is to use
Thanks for the explanation. Keeping reference to the object returned
by canvas.mapRenderer() helps.
Are you going to fix those problems?
Note: in my case, the error happens on QGIS 2.0.1 64 (Qt 4.8.5) / Win7
64 bit but it is working on QGIS 2.0.1 32 (Qt 4.7.1) / Win7 64 and XP
32, but that only
I have got strange bug report for python plugin, when calling from initGui()
iface.mapCanvas().mapRenderer().hasCrsTransformEnabled()
it gives
RuntimeError: wrapped C/C++ object of type QgsMapRenderer has been deleted
From C++ code I see that QgisApp mMapCanvas is created in QgisApp
Hi Radim
I have encountered this problem recently by chance when working on
multi-threaded rendering. In SIP file for QgsMapCanvas, the
mapRenderer() has /Transfer/ annotation (see commit 0246816e). The
annotation has been obviously added to fix some other problem with