Commit 629afd20 authored by Jan Möbius's avatar Jan Möbius

Adapt to OM 3.0

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17204 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e3fa40d8
......@@ -141,7 +141,7 @@ void GaussCurvaturePlugin::computeGaussianCurvature( MeshT* _mesh) {
std::vector< typename MeshT::VertexHandle > handles;
handles.reserve(_mesh->n_vertices());
for ( typename MeshT::VertexIter v_it = _mesh->vertices_begin() ; v_it != _mesh->vertices_end(); ++v_it)
handles.push_back( v_it.handle() );
handles.push_back( *v_it );
#pragma omp parallel for
......@@ -150,7 +150,7 @@ void GaussCurvaturePlugin::computeGaussianCurvature( MeshT* _mesh) {
#else
for ( typename MeshT::VertexIter v_it = _mesh->vertices_begin() ; v_it != _mesh->vertices_end(); ++v_it)
_mesh->property(gauss,v_it) = curvature::gauss_curvature(*_mesh,v_it);
_mesh->property(gauss,*v_it) = curvature::gauss_curvature(*_mesh,*v_it);
#endif
}
......
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