Hi all, I am working on some modification to the Raster Image Marker class QgsRasterMarkerSymbolLayer. In the process I noticed some strange behavior of the original class.
I created a new test project with a layer containing a single Raster Image Marker. In the source file gqsmarkersymbollayer.cpp I added a global variable for a QgsRasterMarkerSymbolLayer class instance counter. It increases in the constructor and decreases in the destructor of this class. Ideally (in my opinion) this counter should always be balanced. But when I close and open the project again (with no extra action) the counter is incremented by 3 each time in the iteration. If I do something after opening the project, for example, changing the size of the image, and then after closing and opening the project again, the counter increases by 8 or more. Almost the same behavior with the QgsSvgMarkerSymbolLayer class. Is it some sort of leak or something else (normal)? Does this behavior require further investigation? -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html _______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer