mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 14:33:28 +00:00
Minor fix
This commit is contained in:
@@ -215,7 +215,9 @@ class IfcParser():
|
|||||||
|
|
||||||
def resolve_modifiers(self, product):
|
def resolve_modifiers(self, product):
|
||||||
obj = product['raw']
|
obj = product['raw']
|
||||||
if obj.data and not obj.data.BIMMeshProperties.is_parametric:
|
if obj.data \
|
||||||
|
and hasattr(obj.data, 'BIMMeshProperties') \
|
||||||
|
and not obj.data.BIMMeshProperties.is_parametric:
|
||||||
return
|
return
|
||||||
instance_objects = [(obj, {
|
instance_objects = [(obj, {
|
||||||
'location': obj.matrix_world.translation,
|
'location': obj.matrix_world.translation,
|
||||||
|
|||||||
Reference in New Issue
Block a user