Commit 12f2e86b authored by Martin Heistermann's avatar Martin Heistermann

avoid deprecated OVM api

parent 6c55cfd9
......@@ -2027,7 +2027,7 @@ void TextureControlPlugin::getCoordinates1D(QString _textureName, int _id, std::
OpenVolumeMesh::VertexPropertyT<double> coordProp = mesh->request_vertex_property<double>(_textureName.toStdString());
for ( OpenVolumeMesh::VertexIter v_it = mesh->vertices_begin() ; v_it != mesh->vertices_end(); ++v_it)
_x.push_back( coordProp[v_it] );
_x.push_back( coordProp[*v_it] );
}
else
{
......@@ -2052,7 +2052,7 @@ void TextureControlPlugin::getCoordinates1D(QString _textureName, int _id, std::
OpenVolumeMesh::VertexPropertyT<double> coordProp = mesh->request_vertex_property<double>(_textureName.toStdString());
for ( OpenVolumeMesh::VertexIter v_it = mesh->vertices_begin() ; v_it != mesh->vertices_end(); ++v_it)
_x.push_back( coordProp[v_it] );
_x.push_back( coordProp[*v_it] );
}
else
{
......
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