Skip to content

Commit

Permalink
Arch: small bugfix in equipment
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Sep 7, 2016
1 parent f449e05 commit beb558c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Mod/Arch/ArchEquipment.py
Expand Up @@ -244,6 +244,9 @@ def __init__(self,obj):
self.Type = "Equipment"
obj.Role = Roles
obj.Proxy = self
obj.setEditorMode("VerticalArea",2)
obj.setEditorMode("HorizontalArea",2)
obj.setEditorMode("PerimeterLength",2)

def onChanged(self,obj,prop):
self.hideSubobjects(obj,prop)
Expand Down Expand Up @@ -283,6 +286,9 @@ def execute(self,obj):
base = self.processSubShapes(obj,base,pl)
self.applyShape(obj,base,pl,allowinvalid=False,allownosolid=True)

def computeAreas(self,obj):
return


class _ViewProviderEquipment(ArchComponent.ViewProviderComponent):
"A View Provider for the Equipment object"
Expand Down

0 comments on commit beb558c

Please sign in to comment.