From d05d2c5da4e925174e4cb6493cd8ad5af7daf78b Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Mon, 7 Jan 2019 11:19:32 -0200 Subject: [PATCH] Arch: Fixed wrong movement of references on reload --- src/Mod/Arch/ArchReference.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mod/Arch/ArchReference.py b/src/Mod/Arch/ArchReference.py index 8b999e8e9d..af50726658 100644 --- a/src/Mod/Arch/ArchReference.py +++ b/src/Mod/Arch/ArchReference.py @@ -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