diff --git a/src/Mod/Image/ImageTools/_CommandImageScaling.py b/src/Mod/Image/ImageTools/_CommandImageScaling.py index 0f793a2692..047119a7f2 100644 --- a/src/Mod/Image/ImageTools/_CommandImageScaling.py +++ b/src/Mod/Image/ImageTools/_CommandImageScaling.py @@ -36,7 +36,6 @@ if FreeCAD.GuiUp: import pivy.coin as pvy import FreeCADGui - import draftguitools.gui_trackers as trackers # Translation-related code # See forum thread "A new Part tool is being born... JoinFeatures!" @@ -65,6 +64,7 @@ class _CommandImageScaling: 'ToolTip': QtCore.QT_TRANSLATE_NOOP("Image_Scaling", "Scales an image plane by defining a distance between two points")} def Activated(self): + import draftguitools.gui_trackers as trackers cmdCreateImageScaling(name="ImageScaling") def IsActive(self):