diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2016-11-20 10:36:40 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2016-11-20 10:36:40 +0000 |
| commit | 03eabec553f7938b674a28ef8abe9b39e149fdb9 (patch) | |
| tree | c259b19d96c4c468e373e935314d10cfe4da171d /src | |
| parent | Add Shift-I shortcut for insert node. (diff) | |
| download | inkscape-03eabec553f7938b674a28ef8abe9b39e149fdb9.tar.gz inkscape-03eabec553f7938b674a28ef8abe9b39e149fdb9.zip | |
Preserve selection of corner nodes for some corner operations.
(bzr r15262)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/tools/mesh-tool.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ui/tools/mesh-tool.cpp b/src/ui/tools/mesh-tool.cpp index 0bcbd8572..d01837c49 100644 --- a/src/ui/tools/mesh-tool.cpp +++ b/src/ui/tools/mesh-tool.cpp @@ -430,6 +430,7 @@ sp_mesh_context_corner_operation (MeshTool *rc, MeshCornerOperation operation ) case MG_CORNER_SIDE_ARC: DocumentUndo::done(doc, SP_VERB_CONTEXT_MESH, _("Approximated arc for mesh side.")); + drag->local_change = true; // Don't create new draggers. break; case MG_CORNER_TENSOR_TOGGLE: @@ -438,10 +439,12 @@ sp_mesh_context_corner_operation (MeshTool *rc, MeshCornerOperation operation ) case MG_CORNER_COLOR_SMOOTH: DocumentUndo::done(doc, SP_VERB_CONTEXT_MESH, _("Smoothed mesh corner color.")); + drag->local_change = true; break; case MG_CORNER_COLOR_PICK: DocumentUndo::done(doc, SP_VERB_CONTEXT_MESH, _("Picked mesh corner color.")); + drag->local_change = true; break; case MG_CORNER_INSERT: @@ -454,7 +457,9 @@ sp_mesh_context_corner_operation (MeshTool *rc, MeshCornerOperation operation ) } } } - drag->updateDraggers(); + + // Not needed. Update is done via gr_drag_sel_modified(). + // drag->updateDraggers(); } |
