Allow for objects with no placement

This commit is contained in:
Dion Moult
2020-05-28 22:34:54 +10:00
parent e071c7812f
commit bdf17e5c12
@@ -1298,6 +1298,8 @@ class IfcImporter():
return self.a2p(o,z,x)
def get_local_placement(self, plc):
if plc is None:
return mathutils.Matrix()
if plc.PlacementRelTo is None:
parent = mathutils.Matrix()
else: