- Anonymous
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
vocx-fc | yorik | master | 2020-05-06 18:11:44 | master de9c9a6b |
Changeset | Draft: update ViewProviderDraft properties The improvements are done to `ViewProviderDraft` which propagates to the majority of the Draft objects by derived classes like `ViewProviederWire`. The initialization of the properties is moved to a method `_set_properties`. The properties `Pattern` and `PatternSize` are created only if they do not exist. This allows calling `ViewProviderDraft(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_base.py | Diff File |