Relax the restriction on cross-layer multiselection, for now
authorAndy Allan <andy@gravitystorm.co.uk>
Fri, 1 Jul 2011 14:35:33 +0000 (15:35 +0100)
committerAndy Allan <andy@gravitystorm.co.uk>
Fri, 1 Jul 2011 14:35:33 +0000 (15:35 +0100)
net/systemeD/potlatch2/controller/SelectedWay.as

index 192e241..d23c28d 100644 (file)
@@ -58,7 +58,7 @@ package net.systemeD.potlatch2.controller {
                 var d:DragWayNode=new DragWayNode(firstSelected as Way, -1, event, true);
                                d.forceDragStart();
                                return d;
-                       } else if ( event.type == MouseEvent.MOUSE_DOWN && event.ctrlKey && entity && entity!=firstSelected && paint==layer) {
+                       } else if ( event.type == MouseEvent.MOUSE_DOWN && event.ctrlKey && entity && entity!=firstSelected) {
                                // multiple selection
                                return new SelectedMultiple([firstSelected,entity],layer);
                        } else if ( event.type == MouseEvent.MOUSE_UP && focus==firstSelected ) {