FreeCAD: master f799717f

Author Committer Branch Timestamp Parent
vocx-fc yorik master 2020-10-01 15:30:26 master 611bcdd4
Changeset Arch: consider DraftText objects in the section plane for compatibility

After the reorganization of the Draft Workbench,
the `'DraftText'` objects are now of Proxy.Type `'Text'`.
In the `DraftAnnotation` class the `__setstate__` method
was defined to automatically migrate the Type.

The `Arch SectionPlane` only handles `'Text'` objects. If for
some reason there is still an old `'DraftText'` object
which has not been migrated to the new Type, it won't be found.
This is corrected by adding `'DraftText'` to the list of objects
to process.
mod - src/Mod/Arch/ArchSectionPlane.py Diff File
mod - src/Mod/Draft/draftobjects/draft_annotation.py Diff File