CLEANUP leftover Trace statements.
authorSteve Bennett <stevagewp@gmail.com>
Sat, 12 Feb 2011 17:18:23 +0000 (17:18 +0000)
committerSteve Bennett <stevagewp@gmail.com>
Sat, 12 Feb 2011 17:18:23 +0000 (17:18 +0000)
net/systemeD/potlatch2/tools/Circularise.as

index 1cfe930..d0e51b6 100644 (file)
@@ -152,15 +152,11 @@ package net.systemeD.potlatch2.tools {
                        // Average distance to centre
                        // (first + last are the same node, don't use twice)
                        for (var i:uint = 0; i < way.length - 1; i++) {
-                               trace ('DEBUG lon, latp: ' + (way.getNode(i).lon -cx)+ ', ' + (way.getNode(i).latp-cy));
-                               
-                               trace('DEBUG d+=' + Math.sqrt(Math.pow(way.getNode(i).lon -cx,2)+
                              Math.pow(way.getNode(i).latp-cy,2)));
                                d+=Math.sqrt(Math.pow(way.getNode(i).lon -cx,2)+
                                                         Math.pow(way.getNode(i).latp-cy,2));
                        }
                        d /= way.length - 1;
-                       trace('DEBUG d: ' + d);
            }
 
                private function insertNode(ang:Number, index:int):void {