Missing import FreeCAD and/or FreeCADGui
Created by: cclauss
These files refer to FreeCAD and/or FreeCADGui but those modules are not imported which results in an undefined name which has the potential to raise NameError at runtime.
Thank you for creating a pull request to contribute to FreeCAD! To ease integration, please confirm the following:
-
Branch rebased on latest master git pull --rebase upstream master
-
Unit tests confirmed to pass by running ./bin/FreeCAD --run-test 0
-
Commit message is well-written -
Commit message includes issue #<id>
orfixes #<id>
where<id>
is the associated MantisBT issue id if one exists
And please remember to update the Wiki with the features added or changed once this PR is merged.