Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed crash when identifying multipart features.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6906 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Apr 20, 2007
1 parent caff0a2 commit 56024ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/qgsmaptoolidentify.cpp
Expand Up @@ -447,6 +447,11 @@ void QgsMapToolIdentify::highlightFeature(int featureId)
return;

QgsGeometry* g = feat.geometry();

// TODO: support multipart geometries
if (g->isMultipart())
return;

switch (g->vectorType())
{
case QGis::Point:
Expand Down

0 comments on commit 56024ce

Please sign in to comment.