Commit ddaf6a46 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'avoid-deprecated' into 'master'

avoid deprecated OVM api

See merge request !3
parents 6c55cfd9 12f2e86b
......@@ -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