summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2017-01-24 11:28:51 +0000
committerjabiertxof <info@marker.es>2017-01-24 11:28:51 +0000
commit0b1d6a94ad7b8caf7bc9bf7ef7c87ef7bad9ac43 (patch)
tree6004e2c2229b136445082c1d7715ee6fee7ef69f /src
parentFix for bug on clone original LPE (diff)
downloadinkscape-0b1d6a94ad7b8caf7bc9bf7ef7c87ef7bad9ac43.tar.gz
inkscape-0b1d6a94ad7b8caf7bc9bf7ef7c87ef7bad9ac43.zip
Fix a translation bug in rotate copies LPE
(bzr r15443)
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/lpe-copy_rotate.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/live_effects/lpe-copy_rotate.cpp b/src/live_effects/lpe-copy_rotate.cpp
index fbc7933e7..42e055062 100644
--- a/src/live_effects/lpe-copy_rotate.cpp
+++ b/src/live_effects/lpe-copy_rotate.cpp
@@ -604,8 +604,7 @@ LPECopyRotate::doEffect_path (Geom::PathVector const & path_in)
Geom::Affine r = Geom::identity();
Geom::Point dir = unit_vector(Geom::middle_point(line_start,line_end) - (Geom::Point)origin);
Geom::Point gap = dir * split_gap;
- r *= Geom::Translate(gap);
- path_out *= r;
+ path_out *= Geom::Translate(gap);
} else {
// default behavior
for (unsigned int i=0; i < path_in.size(); i++) {