diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-03-23 17:45:35 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-03-23 17:45:35 +0000 |
| commit | ec3232de2273e8d3e1efc0b89b30c770dd6a9a71 (patch) | |
| tree | e084165557d264e0d7641647af1bdd9f9765897b /src/gradient-drag.cpp | |
| parent | Fixed bug continuing cusp nodes (diff) | |
| parent | fix Windows build for newer gcc/libs (diff) | |
| download | inkscape-ec3232de2273e8d3e1efc0b89b30c770dd6a9a71.tar.gz inkscape-ec3232de2273e8d3e1efc0b89b30c770dd6a9a71.zip | |
update to trunk
(bzr r11950.1.311)
Diffstat (limited to 'src/gradient-drag.cpp')
| -rw-r--r-- | src/gradient-drag.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gradient-drag.cpp b/src/gradient-drag.cpp index 6773069de..8a0d7ee26 100644 --- a/src/gradient-drag.cpp +++ b/src/gradient-drag.cpp @@ -2387,7 +2387,7 @@ void GrDrag::selected_move(double x, double y, bool write_repr, bool scale_radia gr_midpoint_limits(dragger, server, &begin, &end, &low_lim, &high_lim, &moving); Geom::LineSegment ls(low_lim, high_lim); - Geom::Point p = ls.pointAt(ls.nearestPoint(dragger->point + p)); + Geom::Point p = ls.pointAt(ls.nearestPoint(dragger->point + Geom::Point(x,y))); Geom::Point displacement = p - dragger->point; for (GSList const* i = moving; i != NULL; i = i->next) { |
