1300 QString primitiveName = item->primitive()->name; |
1300 QString primitiveName = item->primitive()->name; |
1301 LDSubfileReference* ref = currentDocument()->emplaceAt<LDSubfileReference>(m_window->suggestInsertPoint()); |
1301 LDSubfileReference* ref = currentDocument()->emplaceAt<LDSubfileReference>(m_window->suggestInsertPoint()); |
1302 ref->setFileInfo (m_documents->getDocumentByName (primitiveName)); |
1302 ref->setFileInfo (m_documents->getDocumentByName (primitiveName)); |
1303 currentDocument()->addToSelection(ref); |
1303 currentDocument()->addToSelection(ref); |
1304 m_window->buildObjectList(); |
1304 m_window->buildObjectList(); |
1305 m_window->renderer()->refresh(); |
1305 refresh(); |
1306 ev->acceptProposedAction(); |
1306 ev->acceptProposedAction(); |
1307 } |
1307 } |
1308 } |
1308 } |
1309 |
1309 |
1310 Vertex const& GLRenderer::position3D() const |
1310 Vertex const& GLRenderer::position3D() const |