Page MenuHomePhabricator

Area of Subdivision Polygon is calculated differently after the planar figure is saved and loaded again
Closed, ResolvedPublic

Description

after the last double click to finalize a contour,
a smoothing is applied which modifies the contour,
this modifications are not included in the calculations ofthe AREA and CIRCUMFERENCE values,
that is, the displayed measurements in the measurement are wrong (do not match the displayed contour, but the one _before_ finalization of the contour),
the ones displayed once saved and loaded are correct.

Event Timeline

for easy reproduction.

draw a Subdivision Polygon,
save it,
load it again,

switch between the loaded and the freshly drawn.
they show different area values.

This is relevant for the upcoming release

User kislinsk has pushed new remote branch:

bug-19304-ReevaluateFeaturesWhenPFsAreFinalized

[fdf790]: Merge branch 'bug-19304-ReevaluateFeaturesWhenPFsAreFinalized'

Merged commits:

2016-02-10 14:07:21 Stefan Kislinskiy [522828]
Fixed missing re-evaluation of planar figure features on finalization