summaryrefslogtreecommitdiffstats
path: root/src/gradient-drag.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-03-25 23:00:14 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-03-25 23:00:14 +0000
commit3b9e11418f6d94cfb75413e986a29a1175b04879 (patch)
tree3a5eda215031004b076b547e093b62f65af83f72 /src/gradient-drag.cpp
parentPurging old axonometric grid code: reworked it into the new grid class struct... (diff)
downloadinkscape-3b9e11418f6d94cfb75413e986a29a1175b04879.tar.gz
inkscape-3b9e11418f6d94cfb75413e986a29a1175b04879.zip
Gradient tool: fixed live updating of midstop dragging + [ 1667584 ] Crash when moving gradient nodes on group
(bzr r2758)
Diffstat (limited to 'src/gradient-drag.cpp')
-rw-r--r--src/gradient-drag.cpp2
1 files changed, 2 insertions, 0 deletions
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);
+ }
}
}