Fixed bug: In exporting IFC with shared clone shapes geometry, clone of clone object displaced because of bug in Draft.get_clone_base function.
This commit is contained in:
committed by
Yorik van Havre
parent
1a15d566d5
commit
b7b24cbb6c
@@ -560,7 +560,7 @@ def get_clone_base(obj, strict=False):
|
||||
if obj.CloneOf:
|
||||
return get_clone_base(obj.CloneOf)
|
||||
if get_type(obj) == "Clone" and obj.Objects:
|
||||
return obj.Objects[0]
|
||||
return get_clone_base(obj.Objects[0])
|
||||
if strict:
|
||||
return False
|
||||
return obj
|
||||
|
||||
Reference in New Issue
Block a user