From: buliabyak Date: Sun, 21 May 2006 15:26:42 +0000 (+0000) Subject: deselect if not keep_selected X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7bce5fe61e3ecdbc13b83ae20cc18214428d69e4;p=inkscape.git deselect if not keep_selected --- diff --git a/src/dyna-draw-context.cpp b/src/dyna-draw-context.cpp index f1128c492..acbd6ae80 100644 --- a/src/dyna-draw-context.cpp +++ b/src/dyna-draw-context.cpp @@ -659,8 +659,11 @@ set_to_accumulated(SPDynaDrawContext *dc) Inkscape::GC::release(dc->repr); item->transform = SP_ITEM(desktop->currentRoot())->getRelativeTransform(desktop->currentLayer()); item->updateRepr(); - if (dc->keep_selected) + if (dc->keep_selected) { sp_desktop_selection(desktop)->set(dc->repr); + } else { + sp_desktop_selection(desktop)->clear(); + } } abp = nr_artpath_affine(sp_curve_first_bpath(dc->accumulated), sp_desktop_dt2root_affine(desktop)); str = sp_svg_write_path(abp);