Skip to content

Commit

Permalink
Fix box lunit'
Browse files Browse the repository at this point in the history
  • Loading branch information
KeithSloan committed May 3, 2020
1 parent 7b388a7 commit 7da2b59
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions freecad/gdml/GDMLObjects.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def onChanged(self, fp, prop):
if ('Restore' in fp.State) :
return

if prop in ['x','y','z'] :
if prop in ['x','y','z','lunit'] :
self.createGeometry(fp)

def execute(self, fp):
Expand Down Expand Up @@ -1661,7 +1661,7 @@ def onChanged(self, fp, prop):
if 'Restore' in fp.State :
return

if prop in ['v1','v2','v3','v4','type'] :
if prop in ['v1','v2','v3','v4','type','lunit'] :
self.createGeometry(fp)

def execute(self, fp):
Expand Down Expand Up @@ -1752,7 +1752,7 @@ def onChanged(self, fp, prop):
if 'Restore' in fp.State :
return

if prop in ['v1','v2','v3','v4'] :
if prop in ['v1','v2','v3','v4','lunit'] :
self.createGeometry(fp)

def execute(self, fp):
Expand Down Expand Up @@ -1789,7 +1789,7 @@ def onChanged(self, fp, prop):
if 'Restore' in fp.State :
return

if prop in ['v1','v2','v3','v4','type'] :
if prop in ['v1','v2','v3','v4','type','lunit'] :
self.createGeometry(fp)

def execute(self, fp):
Expand Down

0 comments on commit 7da2b59

Please sign in to comment.