summaryrefslogtreecommitdiffstats
path: root/src/ui/tools
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-03-28 17:27:59 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-03-28 19:59:41 +0000
commite9e25c0f83f2bd149a63a11b0516b647e4082ed6 (patch)
tree450744f48b048724792f12b634de78ee6f1a0d34 /src/ui/tools
parenta bit more of warning cleanup (diff)
downloadinkscape-e9e25c0f83f2bd149a63a11b0516b647e4082ed6.tar.gz
inkscape-e9e25c0f83f2bd149a63a11b0516b647e4082ed6.zip
Fix bug: 1758477
Rotate Duplicate/ Mirror Symmetry added functionality feature request https://bugs.launchpad.net/inkscape/+bug/1758477
Diffstat (limited to 'src/ui/tools')
-rw-r--r--src/ui/tools/arc-tool.cpp5
-rw-r--r--src/ui/tools/spiral-tool.cpp8
-rw-r--r--src/ui/tools/star-tool.cpp2
3 files changed, 11 insertions, 4 deletions
diff --git a/src/ui/tools/arc-tool.cpp b/src/ui/tools/arc-tool.cpp
index 34b29f3bb..c7243302b 100644
--- a/src/ui/tools/arc-tool.cpp
+++ b/src/ui/tools/arc-tool.cpp
@@ -424,7 +424,10 @@ void ArcTool::finishItem() {
desktop->canvas->endForcedFullRedraws();
desktop->getSelection()->set(this->arc);
-
+ if (this->arc->hasPathEffectRecursive()) {
+ this->arc->set_shape();
+ sp_lpe_item_update_patheffect (this->arc, true, false);
+ }
DocumentUndo::done(desktop->getDocument(), SP_VERB_CONTEXT_ARC, _("Create ellipse"));
this->arc = NULL;
diff --git a/src/ui/tools/spiral-tool.cpp b/src/ui/tools/spiral-tool.cpp
index 66779c3a1..ffca6ce4a 100644
--- a/src/ui/tools/spiral-tool.cpp
+++ b/src/ui/tools/spiral-tool.cpp
@@ -398,8 +398,12 @@ void SpiralTool::finishItem() {
this->desktop->canvas->endForcedFullRedraws();
this->desktop->getSelection()->set(this->spiral);
- this->desktop->getSelection()->set(this->spiral);
-
+
+ if (spiral->hasPathEffectRecursive()) {
+ this->spiral->set_shape();
+ sp_lpe_item_update_patheffect (this->spiral, true, false);
+ }
+
DocumentUndo::done(this->desktop->getDocument(), SP_VERB_CONTEXT_SPIRAL, _("Create spiral"));
this->spiral = NULL;
diff --git a/src/ui/tools/star-tool.cpp b/src/ui/tools/star-tool.cpp
index 9712bb7bd..586b7df38 100644
--- a/src/ui/tools/star-tool.cpp
+++ b/src/ui/tools/star-tool.cpp
@@ -417,11 +417,11 @@ void StarTool::finishItem() {
this->star->set_shape();
this->star->updateRepr(SP_OBJECT_WRITE_EXT);
this->star->doWriteTransform(this->star->transform, NULL, true);
-
desktop->canvas->endForcedFullRedraws();
desktop->getSelection()->set(this->star);
if (this->star->hasPathEffectRecursive()) {
+ this->star->set_shape();
sp_lpe_item_update_patheffect (this->star, true, false);
}
DocumentUndo::done(desktop->getDocument(), SP_VERB_CONTEXT_STAR,