patch_for_ticket_2946.diff
src/app/qgsvectorlayerproperties.cpp (working copy) | ||
---|---|---|
756 | 756 |
} |
757 | 757 |
else |
758 | 758 |
{ |
759 |
QString typeString( QGis::qgisVectorGeometryType[layer->geometryType()] );
|
|
759 |
QString typeString( QGis::qgisVectorGeometryType[type] );
|
|
760 | 760 | |
761 |
QGis::WkbType wkb = layer->wkbType(); |
|
762 |
if ( wkb >= QGis::WKBPoint25D ) |
|
763 |
{ |
|
764 |
typeString += "3D"; |
|
765 |
} |
|
766 | ||
761 | 767 |
myMetadata += "<tr><td>"; |
762 | 768 |
myMetadata += tr( "Geometry type of the features in this layer: %1" ).arg( typeString ); |
763 | 769 |
myMetadata += "</td></tr>"; |