Hi Marco, thanks for help and clarification. I think we should fix bindings as you suggest. Any objections?
On Sun, 16 Dec 2012 06:47:04 +0100 Marco Hugentobler <[email protected]> wrote: > Hi Alexander > > Seems to be a problem with the python bindings. In C++, the render > method is: > void QgsMapRenderer::render( QPainter* painter, double* forceWidthScale > = 0 ); > > Somehow sip does not like that and forceWidthScale has a funny value > (also, I cannot call the method with two arguments from python). If I > change the function in qgsmaprenderer.sip to QgsMapRenderer::render( > QPainter* painter ), forceWidthScale is 0 and it works. -- Alexander Bruy _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
