FreeCAD: master 5bff654a

Author Committer Branch Timestamp Parent
vocx-fc yorik master 2020-05-06 05:58:01 master be141283
Changeset Draft: update ViewProviderWire properties

The improvements are done to `ViewProviderWire` which propagates
to many objects like Line, Wire (polyline), BSpline, BezCurve,
Fillet, etc.

The initialization of the properties is moved to a method
`_set_properties`. The properties `EndArrow`, `ArrowSize`,
`ArrowType` are created only if they do not exist.

This allows calling `ViewProviderWire(obj.ViewObject)`
to migrate an older object to this viewprovider
but without adding duplicated properties.

In particular, this is done to support the migration of the older
`Fillet` object.
mod - src/Mod/Draft/draftviewproviders/view_wire.py Diff File