- Anonymous
 
| Author | Committer | Branch | Timestamp | Parent | 
|---|---|---|---|---|
| vocx-fc | yorik | master | 2020-03-30 00:53:30 | master 9b309635 | 
| Changeset | Draft: import Part module where necessary for the tools Also import `DraftGeomUtils` where necessary. These modules were previously imported globaly when the base `DraftTool` class was first called by the individual tools through the `Creator` and `Modifier` classes. However, since `DraftTool` was moved to a separate module, these `Part` and `DraftGeomUtils` modules are no longer in the `DraftTools` namespace, and therefore they cannot be imported globally anymore. Now the `Part` and `DraftGeomUtils` modules are imported in the specific functions where they are actually needed.  | 
|||
| mod - src/Mod/Draft/DraftTools.py | Diff File | |||