Skip to content

Commit

Permalink
Image: [skip ci] pass trackers as argument to cmdCreateImageScaling
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Nov 21, 2020
1 parent c4d42a1 commit f653694
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Image/ImageTools/_CommandImageScaling.py
Expand Up @@ -65,7 +65,7 @@ def GetResources(self):

def Activated(self):
import draftguitools.gui_trackers as trackers
cmdCreateImageScaling(name="ImageScaling")
cmdCreateImageScaling(name="ImageScaling", trackers=trackers)

def IsActive(self):
if FreeCAD.ActiveDocument:
Expand All @@ -78,7 +78,7 @@ def IsActive(self):


# helper
def cmdCreateImageScaling(name):
def cmdCreateImageScaling(name, trackers):

def distance(p1,p2):
dx=p2[0]-p1[0]
Expand Down

0 comments on commit f653694

Please sign in to comment.