diff --git a/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh/Parameterization_plugin.cpp b/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh/Parameterization_plugin.cpp index fffd332a8322..596a315eb747 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh/Parameterization_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh/Parameterization_plugin.cpp @@ -269,10 +269,9 @@ public : pen.setWidth(0); painter->setPen(pen); painter->setBrush(brush); - SMesh::Property_map u,v; - u = graph->add_property_map("h:u", 0.0f).first; - v = graph->add_property_map("h:v", 0.0f).first; + auto u = graph->add_property_map("h:u", 0.0f).first; + auto v = graph->add_property_map("h:v", 0.0f).first; for( Component::iterator fi = components->at(m_current_component).begin(); @@ -926,11 +925,8 @@ void Polyhedron_demo_parameterization_plugin::parameterize(const Parameterizatio QApplication::restoreOverrideCursor(); QPointF pmin(FLT_MAX, FLT_MAX), pmax(-FLT_MAX, -FLT_MAX); - SMesh::Property_map umap; - SMesh::Property_map vmap; - - umap = tMesh.add_property_map("h:u", 0.0f).first; - vmap = tMesh.add_property_map("h:v", 0.0f).first; + auto umap = tMesh.add_property_map("h:u", 0.0f).first; + auto vmap = tMesh.add_property_map("h:v", 0.0f).first; tMesh.property_stats(std::cerr); Base_face_graph::Halfedge_iterator it;