diff --git a/freecad/gdml/GDMLObjects.py b/freecad/gdml/GDMLObjects.py index f106682f7..61d7af012 100644 --- a/freecad/gdml/GDMLObjects.py +++ b/freecad/gdml/GDMLObjects.py @@ -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): @@ -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): @@ -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): @@ -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):