Arch: small bugfix in equipment
This commit is contained in:
parent
f449e052de
commit
beb558c521
|
@ -244,6 +244,9 @@ class _Equipment(ArchComponent.Component):
|
|||
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)
|
||||
|
@ -283,6 +286,9 @@ class _Equipment(ArchComponent.Component):
|
|||
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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user