Permalink
Browse files

Trac #4378 - creating one node ways

This change treats 1 node ways created by deleting a node from a way as
deleted ways. Tests that I've done suggest this works, including for
undo and redo, but would like someone else to see whether it messes
something else up that I've missed.
  • Loading branch information...
1 parent 9784666 commit ab6c2e9a31446d4f930d18f9043a8302d7e5f61c @EdLoach committed Nov 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 net/systemeD/halcyon/connection/actions/RemoveNodeFromWayAction.as
@@ -32,7 +32,7 @@ package net.systemeD.halcyon.connection.actions {
if ( nodeRemovedFrom.length > 0 ) {
node.removeParent(entity);
- entity.deleted = nodeList.length == 0;
+ entity.deleted = nodeList.length <= 1;
markDirty();
return SUCCESS;
}

0 comments on commit ab6c2e9

Please sign in to comment.