Commit 6d4400ef authored by campen's avatar campen

fixed polyline to work with recent OM 2

parent 4b1b3e19
......@@ -1964,8 +1964,8 @@ void PolyLineT<PointT>::mark_components(
* Visit neighbors, push them onto stack if they
* haven't been visited yet.
*/
for (typename MeshT::CFFIter ff_it = mesh.ff_begin(fh),
ff_end = mesh.ff_end(fh); ff_it != ff_end; ++ff_it) {
for (typename MeshT::CFFIter ff_it = mesh.cff_begin(fh),
ff_end = mesh.cff_end(fh); ff_it != ff_end; ++ff_it) {
if (component[*ff_it] == 0)
dfs.push(*ff_it);
......
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