Add way extending by clicking on first/last node
[potlatch2.git] / net / systemeD / potlatch2 / controller / SelectedWay.as
index cd533231e053e4f9f50fadb504ef6f424c1bc6fd..386daf8d384310fbd5b9ec667e23bd03d31be790 100644 (file)
@@ -39,7 +39,7 @@ package net.systemeD.potlatch2.controller {
                                if ( entity is Node && event.shiftKey ) {
                                        // start new way
                     var way:Way = controller.connection.createWay({}, [entity]);
-                    return new DrawWay(way, true);
+                    return new DrawWay(way, true, false);
                                } else if ( entity is Way ) {
                                        // select way
                     selectWay(entity as Way);