Skip to content

Commit

Permalink
Symbology-NG: support for 2.5D geometries - fix for #2200
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12367 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Dec 8, 2009
1 parent 2143c25 commit ed6ba85
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core/symbology-ng/qgsrendererv2.cpp
Expand Up @@ -160,6 +160,7 @@ void QgsFeatureRendererV2::renderFeature( QgsFeature& feature, QgsRenderContext&
switch ( geom->wkbType() )
{
case QGis::WKBPoint:
case QGis::WKBPoint25D:
{
if ( symbolType != QgsSymbolV2::Marker )
{
Expand All @@ -173,6 +174,7 @@ void QgsFeatureRendererV2::renderFeature( QgsFeature& feature, QgsRenderContext&
break;

case QGis::WKBLineString:
case QGis::WKBLineString25D:
{
if ( symbolType != QgsSymbolV2::Line )
{
Expand All @@ -186,6 +188,7 @@ void QgsFeatureRendererV2::renderFeature( QgsFeature& feature, QgsRenderContext&
break;

case QGis::WKBPolygon:
case QGis::WKBPolygon25D:
{
if ( symbolType != QgsSymbolV2::Fill )
{
Expand All @@ -200,6 +203,7 @@ void QgsFeatureRendererV2::renderFeature( QgsFeature& feature, QgsRenderContext&
break;

case QGis::WKBMultiPoint:
case QGis::WKBMultiPoint25D:
{
if ( symbolType != QgsSymbolV2::Marker )
{
Expand All @@ -221,6 +225,7 @@ void QgsFeatureRendererV2::renderFeature( QgsFeature& feature, QgsRenderContext&
break;

case QGis::WKBMultiLineString:
case QGis::WKBMultiLineString25D:
{
if ( symbolType != QgsSymbolV2::Line )
{
Expand All @@ -242,6 +247,7 @@ void QgsFeatureRendererV2::renderFeature( QgsFeature& feature, QgsRenderContext&
break;

case QGis::WKBMultiPolygon:
case QGis::WKBMultiPolygon25D:
{
if ( symbolType != QgsSymbolV2::Fill )
{
Expand Down

0 comments on commit ed6ba85

Please sign in to comment.