Modify

Opened 17 years ago

Closed 17 years ago

#1389 closed defect (fixed)

Align in circle buggy when way selected

Reported by: anonymous Owned by: framm
Priority: minor Milestone:
Component: Core Version:
Keywords: Cc:

Description

Align nodes in circle handles either a number of nodes or a way. However with a closed way, the result is incorrect. This is annoying since most round features are drawn as closed ways (a way that surrounds a closed area).

The reason appears to be that one node (the "start node"?) appears twice in the representation of a closed way and thus gets double weight in the center calculation and subsequently gets moved twice.

To reproduce:
1) Draw any closed way with 4 edges.
2) Select the four individual corner nodes and press "Align in circle" repeatedly. The shape will converge correctly to a rectangle.
3) Now deselect the nodes and select the way and press "Align in circle" again. The shape should remain unchanged, but in stead it is distorted with one node moved far away.

Tested with revision 732

Attachments (0)

Change History (1)

comment:1 by anonymous, 17 years ago

Resolution: fixed
Status: newclosed

Fixed in r749.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
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.