src/glRenderer.cpp

changeset 1103
ac7db4c076c3
parent 1100
9b2797729c82
child 1104
edddb9b0db9e
equal deleted inserted replaced
1102:c73f9d2e8b85 1103:ac7db4c076c3
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

mercurial