Arch: Fixed typo

This commit is contained in:
Yorik van Havre
2012-08-06 18:00:50 -03:00
parent 7663ebcc5d
commit 249c3aa2a1

View File

@@ -356,7 +356,7 @@ class _Wall(ArchComponent.Component):
# computing shape
base = None
if obj.Base.isDerivedFrom("Part::Feature"):
if obj.Base.isValid() and (not obj.Base.Shape.isNull()):
if obj.Base.Shape.isValid() and (not obj.Base.Shape.isNull()):
base = obj.Base.Shape.copy()
if base.Solids:
pass