# HG changeset patch # User Matti Hamalainen # Date 1316854749 -10800 # Node ID 3af73bbaec8e64183d0d36a205b04605dd4e170f # Parent 40c5d287962700ccc2e2908c0c7b757552077d0a Incremental selection of objects via 2nd mouse button (same as ctrl+first mouse button.) diff -r 40c5d2879627 -r 3af73bbaec8e src/editloop.cc --- a/src/editloop.cc Sat Sep 24 11:58:37 2011 +0300 +++ b/src/editloop.cc Sat Sep 24 11:59:09 2011 +0300 @@ -999,7 +999,7 @@ /* Clicking on selected object with [Ctrl] pressed unselects it. Clicking on unselected object with [Ctrl] pressed selects it. */ - else if (is.key == YE_BUTL_PRESS && is.ctrl + else if (((is.key == YE_BUTL_PRESS && is.ctrl) || is.key == YE_BUTR_PRESS) && e.tool == TOOL_NORMAL && object ()) {