Modify

Opened 12 years ago

Closed 12 years ago

#8796 closed defect (fixed)

[patch] Extruding a way with 3 or 4 nodes closes is unexpectedly

Reported by: AlfonZ Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

Extruding a way in manner that produces a way with 4 nodes closes it by adding extra segment.
This behavior is desired for 2-node ways, but not for 3- or 4-node ways.


Currently, the closing segment will be added if the way has 4 nodes at the end of extruding.
Attached patch changes it to check if the way has 2 nodes at the start of extruding.

Attachments (2)

screenshots.png (13.2 KB ) - added by AlfonZ 12 years ago.
8796.patch (966 bytes ) - added by AlfonZ 12 years ago.

Download all attachments as: .zip

Change History (4)

by AlfonZ, 12 years ago

Attachment: screenshots.png added

by AlfonZ, 12 years ago

Attachment: 8796.patch added

comment:1 by Don-vip, 12 years ago

Wow, thanks for such a "documented" patch with all these test cases !
This is highly appreciated :)

comment:2 by Don-vip, 12 years ago

Resolution: fixed
Status: newclosed

In 6008/josm:

fix #8796 - Extruding a way with 3 or 4 nodes closes unexpectedly (patch by AlfonZ)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.