summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7dbf645)
raw | patch | inline | side by side (parent: 7dbf645)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 21 May 2006 15:26:42 +0000 (15:26 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 21 May 2006 15:26:42 +0000 (15:26 +0000) |
src/dyna-draw-context.cpp | patch | blob | history |
index f1128c4921231c97edb09f19d83bdd9b55e484c9..acbd6ae80af7bd128d1e21e08ac0947af5d41206 100644 (file)
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);