Skip to content

Commit

Permalink
Arch: bugfix in Structure creation
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Jan 28, 2016
1 parent 5ec2ea0 commit 5fbdd4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Arch/ArchStructure.py
Expand Up @@ -84,7 +84,7 @@ def makeStructure(baseobj=None,length=None,width=None,height=None,name="Structur
# don't set the length if we have a base object, otherwise the lenght X height calc
# gets wrong
obj.Length = p.GetFloat("StructureLength",100)
if height > length:
if obj.Height > obj.Length:
obj.Role = "Column"
return obj

Expand Down

0 comments on commit 5fbdd4a

Please sign in to comment.