diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2017-05-05 14:41:34 +0000 |
|---|---|---|
| committer | jabiertxof <info@marker.es> | 2017-05-05 14:41:34 +0000 |
| commit | 561ec7df77bc2e499dc525d987a8be4552e9ea41 (patch) | |
| tree | 9b4d3a36be6bf819964e1fc8c80a823d62c9ce77 /src/live_effects/lpe-copy_rotate.cpp | |
| parent | cmake/MSYS2: adjust fonts.conf to store fontconfig cache in AppData (diff) | |
| download | inkscape-561ec7df77bc2e499dc525d987a8be4552e9ea41.tar.gz inkscape-561ec7df77bc2e499dc525d987a8be4552e9ea41.zip | |
Improve responsive from LPE
Fixed bugs:
- https://launchpad.net/bugs/1688168
(bzr r15662)
Diffstat (limited to 'src/live_effects/lpe-copy_rotate.cpp')
| -rw-r--r-- | src/live_effects/lpe-copy_rotate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-copy_rotate.cpp b/src/live_effects/lpe-copy_rotate.cpp index 900fc8b67..ffd2ef4cf 100644 --- a/src/live_effects/lpe-copy_rotate.cpp +++ b/src/live_effects/lpe-copy_rotate.cpp @@ -339,7 +339,7 @@ LPECopyRotate::doOnApply(SPLPEItem const* lpeitem) A = Point(boundingbox_X.min(), boundingbox_Y.middle()); B = Point(boundingbox_X.middle(), boundingbox_Y.middle()); - origin.param_setValue(A, true); + origin.param_setValue(A); origin.param_update_default(A); dist_angle_handle = L2(B - A); dir = unit_vector(B - A); @@ -402,7 +402,7 @@ LPECopyRotate::doBeforeEffect (SPLPEItem const* lpeitem) rot_pos = origin + dir * Rotate(-rad_from_deg(rotation_angle+starting_angle)) * dist_angle_handle; near = Geom::are_near(start_pos, (Geom::Point)starting_point, 0.01); if (!near) { - starting_point.param_setValue(start_pos, true); + starting_point.param_setValue(start_pos); } previous_start_point = (Geom::Point)starting_point; if ( method == RM_FUSE || copies_to_360 ) { |
