FreeCAD: master 3f75dc7c

Author Committer Branch Timestamp Parent
vocx-fc yorik master 2020-06-16 15:40:16 master 270e4b10
Changeset Draft: clean up the ViewProviderDraftAnnotation class

This class is the base of the viewproviders of annotation-type
objects like dimensions (linear, radial, angular), labels,
and texts.

The basic properties of `ViewProviderDraftAnnotation`
are set up by a method `set_properties`, which can be called
in the derived classes.

In the general proxy object `DraftAnnotation` we implement
the `onDocumentRestored` method in order to add the missing
view property `AnnotationStyle` to older objects.
mod - src/Mod/Draft/draftobjects/draft_annotation.py Diff File
mod - src/Mod/Draft/draftviewproviders/view_draft_annotation.py Diff File