Skip to content

Commit

Permalink
Fixed creating a ToolBit
Browse files Browse the repository at this point in the history
  • Loading branch information
mlampert committed Nov 29, 2019
1 parent 4230af9 commit a2b9970
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Mod/Path/PathScripts/PathToolBitCmd.py
Expand Up @@ -46,8 +46,7 @@ def IsActive(self):
return FreeCAD.ActiveDocument is not None

def Activated(self):
import PathScripts.PathToolBitGui as PathToolBitGui
obj = PathToolBit.Factory.Create()
obj = PathScripts.PathToolBit.Factory.Create()
obj.ViewObject.Proxy.setCreate(obj.ViewObject)

class CommandToolBitSave:
Expand Down

0 comments on commit a2b9970

Please sign in to comment.