[Qgis-developer] wrapped C/C++ object of type QgsMapRenderer has been deleted

Martin Dobias wonder.sk at gmail.com
Thu Dec 19 02:47:53 PST 2013


On Wed, Dec 18, 2013 at 5:35 PM, Radim Blazek <radim.blazek at 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 /KeepReference/ instead of /Transfer/ for mapRenderer()
call. Feel free to commit such change if it works well.

Martin


More information about the Qgis-developer mailing list