From 3b9e11418f6d94cfb75413e986a29a1175b04879 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Sun, 25 Mar 2007 23:00:14 +0000 Subject: Gradient tool: fixed live updating of midstop dragging + [ 1667584 ] Crash when moving gradient nodes on group (bzr r2758) --- src/gradient-drag.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gradient-drag.cpp') diff --git a/src/gradient-drag.cpp b/src/gradient-drag.cpp index d671b4823..32dfe4d71 100644 --- a/src/gradient-drag.cpp +++ b/src/gradient-drag.cpp @@ -802,7 +802,9 @@ GrDragger::fireDraggables (bool write_repr, bool scale_radial, bool merging_focu // to the center, unless it's the first update upon merge when we must snap it to the point if (merging_focus || !(draggable->point_type == POINT_RG_FOCUS && this->isA(draggable->item, POINT_RG_CENTER, draggable->point_i, draggable->fill_or_stroke))) + { sp_item_gradient_set_coords (draggable->item, draggable->point_type, draggable->point_i, this->point, draggable->fill_or_stroke, write_repr, scale_radial); + } } } -- cgit v1.2.3