- marked current_halfedge_handle as deprecated
- updated code to fix related warnings - added some unittests to ensure unchanged behaviour when replacing current_halfedge_handle git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@917 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -140,7 +140,7 @@ public:
|
||||
fh_iter != mesh_.fh_end(fh); ++fh_iter)
|
||||
{
|
||||
//and write the normals to it
|
||||
typename Mesh::HalfedgeHandle heh = fh_iter.current_halfedge_handle();
|
||||
typename Mesh::HalfedgeHandle heh = *fh_iter;
|
||||
typename Mesh::VertexHandle vh = mesh_.to_vertex_handle(heh);
|
||||
typename std::map<VertexHandle,Normal>::iterator it_heNs = halfedgeNormals_.find(vh);
|
||||
if (it_heNs != halfedgeNormals_.end())
|
||||
|
||||
Reference in New Issue
Block a user