Not sure what these are doing here, but comment out traces for now
authorRichard Fairhurst <richard@systemeD.net>
Mon, 10 Oct 2011 22:14:50 +0000 (23:14 +0100)
committerRichard Fairhurst <richard@systemeD.net>
Mon, 10 Oct 2011 22:14:50 +0000 (23:14 +0100)
net/systemeD/potlatch2/controller/DragSelection.as

index 941a20d..45562f2 100644 (file)
@@ -99,20 +99,16 @@ package net.systemeD.potlatch2.controller {
                }
 
         private function cycleAllWays(event:MouseEvent):ControllerState {
-            trace("cycleAllWays");
             if (!(downX && downY) || (wayList && wayList.length<2) || selection.length != 1) { return this; }
-            trace("cycleAllWays2");
             if (!wayList) {
                 wayList=selection
                 for each (var l:MapPaint in controller.map.getLayers()) {
-                    trace("Layer "+l.connection.name);
-                    trace(l.findWaysAtPoint(event.stageX, event.stageY).length);
+//                  trace("Layer "+l.connection.name);
+//                  trace(l.findWaysAtPoint(event.stageX, event.stageY).length);
                     wayList = wayList.concat(l.findWaysAtPoint(event.stageX, event.stageY,selection[0]));
                 }
             }
-            for each (var way:Way in wayList) {
-                trace(way + "::" + way.connection.name);
-            }
+//          for each (var way:Way in wayList) { trace(way + "::" + way.connection.name); }
             wayList=wayList.slice(1).concat(wayList[0]);
             // Find the new way's index of the currently "selected" node, to facilitate keyboard navigation
             return new DragSelection([wayList[0]], event, wayList);