Cleaned up Path op utilities
This commit is contained in:
@@ -82,6 +82,7 @@ class _ViewProviderComment:
|
||||
return ":/icons/Path-Comment.svg"
|
||||
|
||||
def onChanged(self, vobj, prop): # optional
|
||||
# pylint: disable=unused-argument
|
||||
mode = 2
|
||||
vobj.setEditorMode('LineWidth', mode)
|
||||
vobj.setEditorMode('MarkerColor', mode)
|
||||
@@ -105,7 +106,7 @@ class CommandPathComment:
|
||||
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):
|
||||
|
||||
Reference in New Issue
Block a user