[QGIS Commit] [qgis/Quantum-GIS] 45cd49: Avoid possible crash in rendering loop

GitHub noreply at github.com
Thu Apr 4 02:03:50 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/qgis/Quantum-GIS
  Commit: 45cd49d268d27ec12f041a259d0297b9672efa86
      https://github.com/qgis/Quantum-GIS/commit/45cd49d268d27ec12f041a259d0297b9672efa86
  Author: Matthias Kuhn <matthias.kuhn at gmx.ch>
  Date:   2013-04-03 (Wed, 03 Apr 2013)

  Changed paths:
    M src/app/qgsfieldsproperties.cpp
    M src/core/qgsmaplayer.cpp
    M src/core/qgsmaplayer.h
    M src/core/qgsmaprenderer.cpp
    M src/core/qgsvectorlayer.cpp
    M src/core/qgsvectorlayer.h

  Log Message:
  -----------
  Avoid possible crash in rendering loop
As soon as QgsMapLayer::setCacheImage is called while rendering is active, a crash occurs.
Due to the fact, that processEvents is called from the main rendering loop, such situations cannot always be foreseen.


  Commit: 208d4e30f62d29b140a89315cde88b72f87e19e4
      https://github.com/qgis/Quantum-GIS/commit/208d4e30f62d29b140a89315cde88b72f87e19e4
  Author: mhugent <marco.hugentobler at sourcepole.ch>
  Date:   2013-04-04 (Thu, 04 Apr 2013)

  Changed paths:
    M src/app/qgsfieldsproperties.cpp
    M src/core/qgsmaplayer.cpp
    M src/core/qgsmaplayer.h
    M src/core/qgsmaprenderer.cpp
    M src/core/qgsvectorlayer.cpp
    M src/core/qgsvectorlayer.h

  Log Message:
  -----------
  Merge pull request #500 from matthias-kuhn/rendering-cache-crash

[Bugfix] Make rendering cache more stable


Compare: https://github.com/qgis/Quantum-GIS/compare/1c6ee9f65002...208d4e30f62d


More information about the QGIS-commit mailing list