[QGIS Commit] [qgis/Quantum-GIS] 94c2e1: Transfer ownership of renderer to c++ in sip bindi...

GitHub noreply at github.com
Wed Sep 12 14:16:04 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/qgis/Quantum-GIS
  Commit: 94c2e1cbb0e3a9a332e07fe1f9dcb125555af154
      https://github.com/qgis/Quantum-GIS/commit/94c2e1cbb0e3a9a332e07fe1f9dcb125555af154
  Author: Tim Sutton <tim at linfiniti.com>
  Date:   2012-09-12 (Wed, 12 Sep 2012)

  Changed paths:
    M python/core/qgsrasterlayer.sip
    M python/core/qgsrasterrenderer.sip
    M tests/src/python/test_qgsrasterlayer.py

  Log Message:
  -----------
  Transfer ownership of renderer to c++ in sip bindings when calling QgsRasterLayer.setRenderer and when passing shader to QgsSingleBandPseudoColorRenderer. Fixes crash experienced when using python bindings and replacing the shader or renderer of a raster.





More information about the QGIS-commit mailing list