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 22e78cd592
commit d05d2c5da4

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