diff options
| author | Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> | 2019-06-23 02:51:35 +0000 |
|---|---|---|
| committer | Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> | 2019-06-24 02:14:50 +0000 |
| commit | 4ce689b25c14ad64cfe4ef5932cae00ed7d1a006 (patch) | |
| tree | c727463617d15a491e6a0db0ea521d39974755e9 /src/ui/tools/pen-tool.cpp | |
| parent | Minor clean up of pen tool code (diff) | |
| download | inkscape-4ce689b25c14ad64cfe4ef5932cae00ed7d1a006.tar.gz inkscape-4ce689b25c14ad64cfe4ef5932cae00ed7d1a006.zip | |
Update pen tool path instantly on mode change
Diffstat (limited to 'src/ui/tools/pen-tool.cpp')
| -rw-r--r-- | src/ui/tools/pen-tool.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/tools/pen-tool.cpp b/src/ui/tools/pen-tool.cpp index 7708cd86b..9bcef5fc8 100644 --- a/src/ui/tools/pen-tool.cpp +++ b/src/ui/tools/pen-tool.cpp @@ -162,6 +162,8 @@ void PenTool::setPolylineMode() { this->spiro = (mode == 1); this->bspline = (mode == 2); this->_bsplineSpiroColor(); + if (!this->green_bpaths.empty()) + this->_redrawAll(); } /** |
