fix POI-adding boog
authorRichard Fairhurst <richard@systemed.net>
Fri, 4 Jun 2010 09:41:51 +0000 (09:41 +0000)
committerRichard Fairhurst <richard@systemed.net>
Fri, 4 Jun 2010 09:41:51 +0000 (09:41 +0000)
TODO.txt
net/systemeD/halcyon/connection/Entity.as
net/systemeD/potlatch2/controller/DrawWay.as

index e2e0349f4b569332b0b84faf7a456798a2f4ada2..0cc80cca2f2836efbdb1a4088246ffdab74da359 100644 (file)
--- a/TODO.txt
+++ b/TODO.txt
@@ -7,7 +7,6 @@ Potlatch 2: main outstanding issues
 * Make Quadralatalawhatsit properly undoable
 * Splitway + undo leaves way marked dirty
 * Straighten way + undo + redo looks fine in the UI, but doesn't reinsert the nodes into the way properly when saving (maybe way isn't dirty?)
-* Doesn't show untagged nodes not part of a way
 
 == Vector background layers ==
 
index 1d5975d20e16d8f56618adac1c3bd0199e027fdb..949efc9e70eb76a50f6eb4e6a490825ba5b5d593 100644 (file)
@@ -111,7 +111,7 @@ package net.systemeD.halcyon.connection {
                    return deleted;
                }
                
-               protected function setDeletedState(isDeleted:Boolean):void {
+               public function setDeletedState(isDeleted:Boolean):void {
                    deleted = isDeleted;
                }
                
index 733b24a73c2613a9573e6c0bbe4037d2528efb12..6819ac5ee09094881f0881e0e4dfc3e5f97c7d4e 100644 (file)
@@ -45,6 +45,7 @@ package net.systemeD.potlatch2.controller {
                                                        // double-click to create new POI
                                                        node=selectedWay.getNode(0);
                                                        stopDrawing();
+                                                       node.setDeletedState(false);    // has just been deleted by stopDrawing
                                                        controller.connection.registerPOI(node);
                                                        return new SelectedPOINode(node);
                                                } else {