Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix build
  • Loading branch information
nyalldawson committed Nov 25, 2015
1 parent b8706ea commit ea863d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/geometry/qgslinestringv2.cpp
Expand Up @@ -308,7 +308,7 @@ void QgsLineStringV2::append( const QgsLineStringV2* line )
else
{
// if append line does not have z coordinates, fill with 0 to match number of points in final line
mZ.insert( mZ.count(), mX.size() - mZ.size(), 0 );
mZ.insert( mZ.count(), mCoords.size() - mZ.size(), 0 );
}

if ( line->is3D() )
Expand All @@ -318,7 +318,7 @@ void QgsLineStringV2::append( const QgsLineStringV2* line )
else
{
// if append line does not have m values, fill with 0 to match number of points in final line
mM.insert( mM.count(), mX.size() - mM.size(), 0 );
mM.insert( mM.count(), mCoords.size() - mM.size(), 0 );
}

mBoundingBox = QgsRectangle(); //set bounding box invalid
Expand Down

0 comments on commit ea863d2

Please sign in to comment.