remove redundant code
authorRichard Fairhurst <richard@systemed.net>
Mon, 30 Nov 2009 00:47:17 +0000 (00:47 +0000)
committerRichard Fairhurst <richard@systemed.net>
Mon, 30 Nov 2009 00:47:17 +0000 (00:47 +0000)
net/systemeD/halcyon/Map.as

index 4b78c3e..6f64898 100755 (executable)
@@ -294,22 +294,6 @@ package net.systemeD.halcyon {
                                ui.setHighlight(stateType, settings[stateType]);
                        }
                        ui.redraw();
-/*            if ( entity is Way ) {
-                var wayUI:WayUI = ways[entity.id];
-                if (wayUI==null) { return; }
-                               for (stateType in settings) {
-                       wayUI.setHighlight(stateType, settings[stateType]);
-                               }
-                               wayUI.redraw();
-            } else if (entity is Node) {
-                               var nodeUI:NodeUI = pois[entity.id];
-                if (nodeUI==null) { return; }
-                               for (stateType in settings) {
-                       nodeUI.setHighlight(stateType, settings[stateType]);
-                               }
-                               nodeUI.redraw();
-                       }
-*/
         }
 
         // Handle mouse events on ways/nodes