Opened 16 years ago
Closed 16 years ago
#2645 closed defect (fixed)
[PATCH] Reversing multiple ways that are members of the same relation is broken
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
This patch fixes reversing multiple ways that are members of the same relation, and have a role that needs to be changed by ReverseWayTagCorrector. Only the role of the way that was reversed last was saved, as all the changes were made to a state before any of the reversing took place.
The fix was to introduce a new command, ChangeRelationMemberRoleCommand, that only takes the relation, the position of the member, and the new role and changes the relation without making a whole new copy of the relation. This makes it possible to make many modifications to a relation's members roles without executing them at each step (which would make using undo hard).
Attachments (1)
Change History (2)
by , 16 years ago
Attachment: | rolecorrection2.diff added |
---|
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
In r1617.