CAM: Remove dependency Path.Main.Job from Path.Dressup.Utils

This commit is contained in:
tarman3
2025-11-18 20:46:34 +02:00
parent 8cb87df0f2
commit 6ecc6f780c

View File

@@ -22,7 +22,6 @@
# ***************************************************************************
import FreeCAD
import Path.Main.Job as PathJob
def selection():
@@ -31,7 +30,7 @@ def selection():
import FreeCADGui
sel = FreeCADGui.Selection.getSelectionEx()
if len(sel) == 1 and sel[0].Object.isDerivedFrom("Path::Feature") and PathJob.Instances():
if len(sel) == 1 and sel[0].Object.isDerivedFrom("Path::Feature"):
return sel[0].Object
return None