From 01b27a996de7aa03e5ec7b961ffd7d0f2e8625c6 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Wed, 14 Mar 2018 23:02:47 +0100 Subject: Allow upadate shapen innside groups with LPE --- src/ui/tools/rect-tool.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/ui/tools/rect-tool.cpp') 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; -- cgit v1.2.3