From 0b1d6a94ad7b8caf7bc9bf7ef7c87ef7bad9ac43 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Cenoz Date: Tue, 24 Jan 2017 12:28:51 +0100 Subject: Fix a translation bug in rotate copies LPE (bzr r15443) --- src/live_effects/lpe-copy_rotate.cpp | 3 +-- 1 file changed, 1 insertion(+), 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++) { -- cgit v1.2.3