projects
/
potlatch2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e5a8fa5
)
fix circularise undo action (still doesn't undo adding the nodes)
author
Dave Stubbs
<osm@randomjunk.co.uk>
Wed, 21 Apr 2010 09:58:31 +0000
(09:58 +0000)
committer
Dave Stubbs
<osm@randomjunk.co.uk>
Wed, 21 Apr 2010 09:58:31 +0000
(09:58 +0000)
net/systemeD/potlatch2/tools/Circularise.as
patch
|
blob
|
history
diff --git
a/net/systemeD/potlatch2/tools/Circularise.as
b/net/systemeD/potlatch2/tools/Circularise.as
index 38a83f3991473c0e68f3697b1fa137cd90d79dc2..2e6150b953302cd484f44d7cc5f57008da374118 100644
(file)
--- a/
net/systemeD/potlatch2/tools/Circularise.as
+++ b/
net/systemeD/potlatch2/tools/Circularise.as
@@
-41,7
+41,7
@@
package net.systemeD.potlatch2.tools {
d=d/way.length;
d=d/way.length;
- var action:CompositeUndoableAction = new CompositeUndoableAction("
Straighten
");
+ var action:CompositeUndoableAction = new CompositeUndoableAction("
Circularise
");
// Move each node
for (i=0; i<way.length-1; i++) {
// Move each node
for (i=0; i<way.length-1; i++) {
@@
-86,6
+86,8
@@
package net.systemeD.potlatch2.tools {
}
i++;
}
}
i++;
}
+
+ MainUndoStack.getGlobalStack().addAction(action);
}
}
}
}
}
}