summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/rect-tool.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-03-14 22:02:47 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-03-26 17:48:34 +0000
commit01b27a996de7aa03e5ec7b961ffd7d0f2e8625c6 (patch)
treee1ebbf6b158fbe8d308e2f5518c90cd17c182fb5 /src/ui/tools/rect-tool.cpp
parentAllow path move (diff)
downloadinkscape-01b27a996de7aa03e5ec7b961ffd7d0f2e8625c6.tar.gz
inkscape-01b27a996de7aa03e5ec7b961ffd7d0f2e8625c6.zip
Allow upadate shapen innside groups with LPE
Diffstat (limited to 'src/ui/tools/rect-tool.cpp')
-rw-r--r--src/ui/tools/rect-tool.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/tools/rect-tool.cpp b/src/ui/tools/rect-tool.cpp
index 60524b275..7442c6eca 100644
--- a/src/ui/tools/rect-tool.cpp
+++ b/src/ui/tools/rect-tool.cpp
@@ -460,9 +460,13 @@ void RectTool::finishItem() {
this->rect->doWriteTransform(this->rect->transform, NULL, true);
this->desktop->canvas->endForcedFullRedraws();
-
+
this->desktop->getSelection()->set(this->rect);
+ if (this->rect->hasPathEffectRecursive()) {
+ this->desktop->getSelection()->toCurves();
+ }
+
DocumentUndo::done(this->desktop->getDocument(), SP_VERB_CONTEXT_RECT, _("Create rectangle"));
this->rect = NULL;