Package: qgis / 2.4.0-1

0001-Fix-joinConnectedFeatures-not-keeping-the-featurePar.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From 7bc055ed10dc68cc9c974f234667753bdc5d1179 Mon Sep 17 00:00:00 2001
From: Sandro Mani <manisandro@gmail.com>
Date: Thu, 3 Jul 2014 20:59:33 +0200
Subject: Fix joinConnectedFeatures not keeping the featureParts list in sync
 (Funded by Sourcepole)
Origin: https://github.com/qgis/QGIS/commit/7bc055ed10dc68cc9c974f234667753bdc5d1179


--- a/src/core/pal/layer.cpp
+++ b/src/core/pal/layer.cpp
@@ -462,6 +462,7 @@ namespace pal
           double bmin[2], bmax[2];
           partCheck->getBoundingBox( bmin, bmax );
           rtree->Remove( bmin, bmax, partCheck );
+          featureParts->remove( partCheck );
 
           otherPart->getBoundingBox( bmin, bmax );