Arch: Fixed null shape copy() bugs

This commit is contained in:
Yorik van Havre
2014-03-14 12:55:11 -03:00
parent f0b54d3ee5
commit f4bb393f0e
2 changed files with 4 additions and 0 deletions

View File

@@ -570,6 +570,8 @@ class _Structure(ArchComponent.Component):
base = None
if obj.Base:
if obj.Base.isDerivedFrom("Part::Feature"):
if obj.Base.Shape.isNull():
return
if hasattr(obj,"Tool"):
if obj.Tool:
try: