Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit ab6c2e9a31446d4f930d18f9043a8302d7e5f61c 1 parent 9784666
@EdLoach authored
View
2  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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.