From 6ecc6f780c82067b24047bfbd2da1f1061a2fbc4 Mon Sep 17 00:00:00 2001 From: tarman3 Date: Tue, 18 Nov 2025 20:46:34 +0200 Subject: [PATCH] CAM: Remove dependency Path.Main.Job from Path.Dressup.Utils --- src/Mod/CAM/Path/Dressup/Utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Mod/CAM/Path/Dressup/Utils.py b/src/Mod/CAM/Path/Dressup/Utils.py index b22fddfe2c..adea344d47 100644 --- a/src/Mod/CAM/Path/Dressup/Utils.py +++ b/src/Mod/CAM/Path/Dressup/Utils.py @@ -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