Cleaned up Path op utilities

This commit is contained in:
Markus Lampert
2019-07-09 19:48:26 -07:00
parent ce5e1daa59
commit db67c4b4c1
12 changed files with 42 additions and 33 deletions

View File

@@ -26,7 +26,7 @@ import FreeCADGui
import Path
from PySide import QtCore
"""Path Custom object and FreeCAD command"""
__doc__ = """Path Custom object and FreeCAD command"""
# Qt translation handling
@@ -68,7 +68,7 @@ class CommandPathCustom:
if FreeCAD.ActiveDocument is not None:
for o in FreeCAD.ActiveDocument.Objects:
if o.Name[:3] == "Job":
return True
return True
return False
def Activated(self):