Arch: Fixed wrong movement of references on reload

This commit is contained in:
Yorik van Havre
2019-01-07 11:19:32 -02:00
parent e10e90516e
commit 59eb1735bc

View File

@@ -147,7 +147,8 @@ class ArchReference:
shapedata = shapedata.decode("utf8")
shape.importBrepFromString(shapedata)
obj.Shape = shape
obj.Placement = obj.Shape.Placement.multiply(pl)
if not pl.isIdentity():
obj.Placement = pl
else:
print("Part not found in file")
self.reload = False