From 5d8ecd4b20530da1f2c8ce140cd276527421013d Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Tue, 25 Jul 2017 15:07:11 -0300 Subject: [PATCH] Arch: Fixed crash in wall with height=0 --- src/Mod/Arch/ArchWall.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/Arch/ArchWall.py b/src/Mod/Arch/ArchWall.py index b392e1741f..b4bd5adda3 100644 --- a/src/Mod/Arch/ArchWall.py +++ b/src/Mod/Arch/ArchWall.py @@ -573,6 +573,8 @@ class _Wall(ArchComponent.Component): if Draft.getType(p) == "Floor": if p.Height.Value: height = p.Height.Value + if not height: + return None if obj.Normal == Vector(0,0,0): normal = Vector(0,0,1) else: