more selection fixes
[potlatch2.git] / net / systemeD / potlatch2 / controller / CreateWay.as
index 91862e29480fd61024954dabe25efd11d2f128a9..9f239341e75c3b797a7cdbf7a763f85612f335fd 100644 (file)
@@ -4,6 +4,7 @@ package net.systemeD.potlatch2.controller {
     import net.systemeD.potlatch2.EditController;
     import net.systemeD.halcyon.connection.*;
     import net.systemeD.halcyon.Elastic;
+       import net.systemeD.halcyon.Globals;
 
     public class CreateWay extends ControllerState {
         private var start:Point;
@@ -54,11 +55,13 @@ package net.systemeD.potlatch2.controller {
             mouse.y = controller.map.coord2latp(mouse.y);
             
             elastic = new Elastic(controller.map, start, mouse);
+                       Globals.vars.root.addDebug("**** -> "+this);
         }
         
         override public function exitState():void {
             elastic.removeSprites();
             elastic = null;
+                       Globals.vars.root.addDebug("**** <- "+this);
         }
 
         override public function toString():String {