src/toolsets/algorithmtoolset.cpp

changeset 1218
e0b59d183f96
parent 1217
314e12e23c3a
child 1219
8e39b5d7c562
--- a/src/toolsets/algorithmtoolset.cpp	Thu Jan 04 19:44:26 2018 +0200
+++ b/src/toolsets/algorithmtoolset.cpp	Thu Jan 04 19:52:24 2018 +0200
@@ -609,7 +609,7 @@
 		LDSubfileReference* ref = LDSpawn<LDSubfileReference>();
 		ref->setColor(MainColor);
 		ref->setFileInfo(doc);
-		ref->setPosition(Origin);
+		ref->setPosition(Vertex {});
 		ref->setTransform(IdentityMatrix);
 		currentDocument()->insertObj(refidx, ref);
 

mercurial