Commit e4c3a9c5 authored by Sylvain Thery's avatar Sylvain Thery

quicktraversals ok after save/load

parent 432667ae
......@@ -155,6 +155,7 @@ protected:
public:
/**
* Constructor
* @param bs shift for boundary drawing
*/
TopoRender(float bs = 0.01f);
......
......@@ -618,8 +618,11 @@ bool GenericMap::loadMapBin(const std::string& filename)
++m_nbThreads;
}
// restore quick traversals pointers if necessary (containers already ok)
for (unsigned int orb=0; orb<NB_ORBITS; ++orb)
{
m_quickTraversal[ORBIT] = m_attribs[ORBIT].getDataVector<Dart>("quick_traversal") ;
}
return true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment