src/toolsets/algorithmtoolset.cpp

changeset 1218
e0b59d183f96
parent 1217
314e12e23c3a
child 1219
8e39b5d7c562
equal deleted inserted replaced
1217:314e12e23c3a 1218:e0b59d183f96
607 607
608 // Add a reference to the new subfile to where the selection was 608 // Add a reference to the new subfile to where the selection was
609 LDSubfileReference* ref = LDSpawn<LDSubfileReference>(); 609 LDSubfileReference* ref = LDSpawn<LDSubfileReference>();
610 ref->setColor(MainColor); 610 ref->setColor(MainColor);
611 ref->setFileInfo(doc); 611 ref->setFileInfo(doc);
612 ref->setPosition(Origin); 612 ref->setPosition(Vertex {});
613 ref->setTransform(IdentityMatrix); 613 ref->setTransform(IdentityMatrix);
614 currentDocument()->insertObj(refidx, ref); 614 currentDocument()->insertObj(refidx, ref);
615 615
616 // Refresh stuff 616 // Refresh stuff
617 m_window->updateDocumentList(); 617 m_window->updateDocumentList();

mercurial