Ejemplo n.º 1
0
 void EntityLinkRenderer::getAllLinks(Vertex::List& links) const {
     View::MapDocumentSPtr document = lock(m_document);
     const Model::EditorContext& editorContext = document->editorContext();
     
     CollectAllLinksVisitor collectLinks(editorContext, m_defaultColor, m_selectedColor, links);
     
     Model::World* world = document->world();
     if (world != NULL)
         world->acceptAndRecurse(collectLinks);
 }