Commit e51ed5d8 authored by Sylvain Thery's avatar Sylvain Thery
Browse files

small bug in toporender

parent a0f327b6
......@@ -70,8 +70,8 @@ void TopoRender::updateDataMap(typename PFP::MAP& mapx, const VertexAttribute<ty
std::vector<Dart> vecDarts;
vecDarts.reserve(map.getNbDarts()); // no problem dart is int: no problem of memory
if ( != &map)
m_attIndex = map.template getAttribute<unsigned int, DART>("dart_index");
if (!m_attIndex.isValid())
m_attIndex = map.template addAttribute<unsigned int, DART>("dart_index");
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