Skip to content

Commit

Permalink
[Fix][MapTool] Ellipse with M value
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti committed Aug 17, 2021
1 parent bdaf65e commit 1ae8114
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/app/qgsmaptooladdellipse.cpp
Expand Up @@ -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() );
Expand Down

0 comments on commit 1ae8114

Please sign in to comment.