Line 76 is incorrect because draw function is executed every time when
we move mouse:
if (originalWay.isArea()) { parallelWay.appendNode(nodes[0],undo.push); }
Example paralleise area way nodes now: [-6, -7, -8, -6, -6, -6, -6,
-6, -6, -6, -6, -6]
Correctly, is as follows: [-6, -7, -8, -6]
Fix:
if ( originalWay.isArea() && parallelWay.getLastNode() !=
parallelWay.getNode(0) ) { parallelWay.appendNode(nodes[0],undo.push);
}
RafalR
_______________________________________________
Potlatch-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/potlatch-dev