Skip to content
Permalink
Browse files
allow to digitize curves for add part / add ring / fill ring map tools (
  • Loading branch information
3nids committed Jan 3, 2022
1 parent 1e9578a commit b76838bf04c539fa20be29de8a815027f83d90e7
Showing with 3 additions and 7 deletions.
  1. +1 −1 src/app/qgsmaptooladdpart.cpp
  2. +1 −3 src/app/qgsmaptooladdring.cpp
  3. +1 −3 src/app/qgsmaptoolfillring.cpp
@@ -49,7 +49,7 @@ bool QgsMapToolAddPart::supportsTechnique( QgsMapToolCapture::CaptureTechnique t
return true;

case QgsMapToolCapture::CircularString:
return false;
return mode() != QgsMapToolCapture::CapturePoint;
}
return false;
}
@@ -39,10 +39,8 @@ bool QgsMapToolAddRing::supportsTechnique( QgsMapToolCapture::CaptureTechnique t
{
case QgsMapToolCapture::StraightSegments:
case QgsMapToolCapture::Streaming:
return true;

case QgsMapToolCapture::CircularString:
return false;
return true;
}
return false;
}
@@ -39,10 +39,8 @@ bool QgsMapToolFillRing::supportsTechnique( QgsMapToolCapture::CaptureTechnique
{
case QgsMapToolCapture::StraightSegments:
case QgsMapToolCapture::Streaming:
return true;

case QgsMapToolCapture::CircularString:
return false;
return true;
}
return false;
}

0 comments on commit b76838b

Please sign in to comment.