Arch: Fixed typo

This commit is contained in:
Yorik van Havre 2012-08-06 18:00:50 -03:00
parent 43b7b9834d
commit 7644248953

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