Proposed fix:
DrGPolygonBuilder>>isWanted: aMathItemCollection
^aMathItemCollection notEmpty
and: [aMathItemCollection first isPointItem
and: [points isEmpty
or: [(points first = aMathItemCollection first and: [ points size > 2])
or: [(points includes: aMathItemCollection first) not]]]]
--
You received this bug notification because you are a member of DrGeo
developers, which is subscribed to Dr. Geo II.
Matching subscriptions: Dr. Geo bug report
https://bugs.launchpad.net/bugs/1580052Title:
Clicking twice on a point when creating a polygon
Status in Dr. Geo II:
New
Bug description:
When creating a polygon, clicking twice on the same point duplicate
it.
The result is a polygon with duplicated point at the same position.
This problem only occurs when clicking again on the first selected
point. Indeed the first point can is selectable twice to close the
polygon.
Solution: 1st selected point can be clicked again only when at least 3
points were already selected.
The fix can be applied in the Polygon builder.
To manage notifications about this bug go to:
https://bugs.launchpad.net/drgeo/+bug/1580052/+subscriptions
Was this message helpful?
Tell us!