Fix copy+paste error - this is simplify, not straighten
authorAndy Allan <gravitystorm@gmail.com>
Tue, 17 Aug 2010 09:55:24 +0000 (09:55 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Tue, 17 Aug 2010 09:55:24 +0000 (09:55 +0000)
net/systemeD/potlatch2/tools/Simplify.as

index 009b01b17eac3a83a4f3c5cefb90c43b7521942e..e782e3bf33eb82513b6b830034a10b150e1d623c 100644 (file)
@@ -12,7 +12,7 @@ package net.systemeD.potlatch2.tools {
                public static function simplify(way:Way, map:Map, keepOffscreen:Boolean):void {
                        if (way.length<3 || way.isArea()) { return; }
 
-                       var action:CompositeUndoableAction = new CompositeUndoableAction("Straighten");
+                       var action:CompositeUndoableAction = new CompositeUndoableAction("Simplify");
                        
                        var xa:Number, xb:Number;
                        var ya:Number, yb:Number;