Skip to content

Commit 8053f77

Browse files
author
wonder
committedApr 20, 2007
Fixed crash when identifying multipart features.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6906 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 7347387 commit 8053f77

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎src/app/qgsmaptoolidentify.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,11 @@ void QgsMapToolIdentify::highlightFeature(int featureId)
447447
return;
448448

449449
QgsGeometry* g = feat.geometry();
450+
451+
// TODO: support multipart geometries
452+
if (g->isMultipart())
453+
return;
454+
450455
switch (g->vectorType())
451456
{
452457
case QGis::Point:

0 commit comments

Comments
 (0)