We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8706ea commit ea863d2Copy full SHA for ea863d2
src/core/geometry/qgslinestringv2.cpp
@@ -308,7 +308,7 @@ void QgsLineStringV2::append( const QgsLineStringV2* line )
308
else
309
{
310
// if append line does not have z coordinates, fill with 0 to match number of points in final line
311
- mZ.insert( mZ.count(), mX.size() - mZ.size(), 0 );
+ mZ.insert( mZ.count(), mCoords.size() - mZ.size(), 0 );
312
}
313
314
if ( line->is3D() )
@@ -318,7 +318,7 @@ void QgsLineStringV2::append( const QgsLineStringV2* line )
318
319
320
// if append line does not have m values, fill with 0 to match number of points in final line
321
- mM.insert( mM.count(), mX.size() - mM.size(), 0 );
+ mM.insert( mM.count(), mCoords.size() - mM.size(), 0 );
322
323
324
mBoundingBox = QgsRectangle(); //set bounding box invalid
0 commit comments