highlight nodes in mouseover
[potlatch2.git] / net / systemeD / potlatch2 / controller / DragWayNode.as
index abf22e8e076a4ad24dac7ab0db007024c68b6624..30387b8e0e41677d1c5b65e9d69fe713da4c0049 100644 (file)
@@ -34,7 +34,7 @@ package net.systemeD.potlatch2.controller {
 //                     return endDrag();
                                } else if (event.shiftKey && !isNew) {
                                        // start new way
-                                       var way:Way = controller.connection.createWay({}, [entity, entity]);
+                                       var way:Way = controller.connection.createWay({}, [entity]);
                                        return new DrawWay(way, true);
                                } else if (event.shiftKey && isNew) {
                        return new SelectedWayNode(selectedWay,draggingNode);