Skip to content
Permalink
Browse files
[Fix][MapTool] Ellipse with M value
  • Loading branch information
lbartoletti committed Aug 17, 2021
1 parent bdaf65e commit 1ae81142ba7e4abc75f50ca1fd082f43243cb824
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/app/qgsmaptooladdellipse.cpp
@@ -48,6 +48,13 @@ void QgsMapToolAddEllipse::deactivate()
ls->addZValue( point.z() );
break;
}
if ( QgsWkbTypes::hasM( point.wkbType() ) &&
point.m() != defaultMValue() )
{
ls->dropMValue();
ls->addMValue( point.m() );
break;
}
}

mParentTool->addCurve( ls.release() );

0 comments on commit 1ae8114

Please sign in to comment.