Commit Graph

9 Commits

Author SHA1 Message Date
John Firebaugh 5e66307500 Fix incorrect parentWays after reloading a split way
When recalculating parent ways/relations during rebase, a
graph should not add modified or deleted entities as parents.
Such entities will already be correctly marked as parents or
not.

Graph had the correct behavior for deleted entities, but not for
modified entities. This had the effect that if you split a way
that was partially off screen, and then panned so that the way was
re-retrieved, Graph#rebase would mistakenly add back the original
way as a parent of all the nodes that were split into the new
section, making them appear as shared.

Fixes #751.
2013-02-13 16:03:23 -08:00
Ansis Brammanis 1050faab8f Only delete saved on hitting reset, fixes #744 2013-02-13 17:42:46 -05:00
Ansis Brammanis a21b973a41 Fix saving deletions to storage, add tests 2013-02-13 12:42:51 -05:00
Ansis Brammanis f2d6628547 Don't break rebasing with loading 2013-02-13 11:17:29 -05:00
Tom MacWright 915edc4569 Merge branch 'master' of github.com:systemed/iD 2013-02-12 16:35:53 -05:00
Tom MacWright 61d7ec45b5 Banish function ( style 2013-02-12 16:35:47 -05:00
John Firebaugh 072f85e2b1 Redraw nodes that move off the screen (fixes #735) 2013-02-12 13:34:16 -08:00
Tom MacWright 38b327fefe jshint fixes, fix global leak 2013-02-11 10:42:49 -05:00
John Firebaugh 843baa11c0 graph -> core
This matches how it's described in ARCHITECTURE.md.
2013-02-09 15:18:54 -08:00