Skip to content
Permalink
Browse files

Followup 800c54f, nicer fix

  • Loading branch information
nyalldawson committed Apr 28, 2020
1 parent d28e301 commit 8ba73c6ff2d9912520f7f6af82e9020c3fe74ab3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgstessellator.cpp
@@ -442,7 +442,7 @@ void QgsTessellator::addPolygon( const QgsPolygon &polygon, float extrusionHeigh
const double *zData = !mNoZ ? exterior->zData() : nullptr;
for ( int i = 0; i < 3; i++ )
{
float z = ( ( mNoZ || !exterior->is3D() ) ? 0 : *zData++ );
float z = ( !zData ? 0 : *zData++ );
if ( z < zMin )
zMin = z;
if ( z > zMax )

0 comments on commit 8ba73c6

Please sign in to comment.
You can’t perform that action at this time.