projects
/
potlatch2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prevent single-node ways from being created by undo.
[potlatch2.git]
/
net
/
systemeD
/
halcyon
/
connection
/
actions
/
DeleteWayAction.as
diff --git
a/net/systemeD/halcyon/connection/actions/DeleteWayAction.as
b/net/systemeD/halcyon/connection/actions/DeleteWayAction.as
index 331826a8472e9e7b2d98233f1cff687fd9ea0939..f2fd1bc651d3506849721c3b6843afd47e0579ab 100644
(file)
--- a/
net/systemeD/halcyon/connection/actions/DeleteWayAction.as
+++ b/
net/systemeD/halcyon/connection/actions/DeleteWayAction.as
@@
-57,7
+57,7
@@
package net.systemeD.halcyon.connection.actions {
markClean();
}
entity.connection.dispatchEvent(new EntityEvent(Connection.NEW_WAY, way));
- effects.undoAction();
+
if (effects)
effects.undoAction();
for each(var node:Node in oldNodeList) {
nodeList.push(node);
node.addParent(way);