Skip to content

Commit

Permalink
Arch: Fixed crash in wall with height=0
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Jul 25, 2017
1 parent 7fc0635 commit 37258b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mod/Arch/ArchWall.py
Expand Up @@ -573,6 +573,8 @@ def getExtrusionData(self,obj):
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:
Expand Down

0 comments on commit 37258b9

Please sign in to comment.