FreeCAD: master 49e1ff1b

Author Committer Branch Timestamp Parent
vocx-fc yorik master 2020-09-21 02:40:23 master 312a4652
Changeset Draft: get_bbox function to get the bounding box from RootNode

Normally the bounding box is taken from `Shape.BoundBox`.
Certain objects don't have a `Shape`, like `App::FeaturePythons`,
so the bounding box is calculated from `ViewObject.RootNode`.
mod - src/Mod/Draft/Draft.py Diff File
mod - src/Mod/Draft/draftutils/gui_utils.py Diff File