From 7da2b59a5ce693bcbacb685a07590078f0d32742 Mon Sep 17 00:00:00 2001 From: KeithSloan Date: Sun, 3 May 2020 10:19:22 +0100 Subject: [PATCH] Fix box lunit' --- freecad/gdml/GDMLObjects.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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):