src/glRenderer.cpp

changeset 1070
292c64cb2a75
parent 1061
273333700685
child 1072
9ce9496427f2
equal deleted inserted replaced
1069:220cde0fa2d9 1070:292c64cb2a75
1565 QString primitiveName = item->primitive()->name; 1565 QString primitiveName = item->primitive()->name;
1566 LDSubfileReference* ref = LDSpawn<LDSubfileReference>(); 1566 LDSubfileReference* ref = LDSpawn<LDSubfileReference>();
1567 ref->setColor (MainColor); 1567 ref->setColor (MainColor);
1568 ref->setFileInfo (m_documents->getDocumentByName (primitiveName)); 1568 ref->setFileInfo (m_documents->getDocumentByName (primitiveName));
1569 ref->setPosition (Origin); 1569 ref->setPosition (Origin);
1570 ref->setTransformationMatrix (IdentityMatrix); 1570 ref->setTransformationMatrix (Matrix::identity);
1571 currentDocument()->insertObject (m_window->suggestInsertPoint(), ref); 1571 currentDocument()->insertObject (m_window->suggestInsertPoint(), ref);
1572 ref->select(); 1572 ref->select();
1573 m_window->buildObjectList(); 1573 m_window->buildObjectList();
1574 m_window->renderer()->refresh(); 1574 m_window->renderer()->refresh();
1575 ev->acceptProposedAction(); 1575 ev->acceptProposedAction();

mercurial