Commit 040bfbb0 authored by Matthias Möller's avatar Matthias Möller

fix this ptr

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1146 fdac6126-5c0c-442c-9429-916003d36597
parent 12e6e069
...@@ -75,12 +75,12 @@ uint PolyMeshT<Kernel>::find_feature_edges(Scalar _angle_tresh) ...@@ -75,12 +75,12 @@ uint PolyMeshT<Kernel>::find_feature_edges(Scalar _angle_tresh)
{ {
if (fabs(calc_dihedral_angle(*e_it)) > _angle_tresh) if (fabs(calc_dihedral_angle(*e_it)) > _angle_tresh)
{//note: could be optimized by comparing cos(dih_angle) vs. cos(_angle_tresh) {//note: could be optimized by comparing cos(dih_angle) vs. cos(_angle_tresh)
status(*e_it).set_feature(true); this->status(*e_it).set_feature(true);
n_feature_edges++; n_feature_edges++;
} }
else else
{ {
status(*e_it).set_feature(false); this->status(*e_it).set_feature(false);
} }
} }
return n_feature_edges; return n_feature_edges;
......
...@@ -205,7 +205,7 @@ public: ...@@ -205,7 +205,7 @@ public:
*/ */
inline HalfedgeHandle vertex_split(Point _v0_point, VertexHandle _v1, inline HalfedgeHandle vertex_split(Point _v0_point, VertexHandle _v1,
VertexHandle _vl, VertexHandle _vr) VertexHandle _vl, VertexHandle _vr)
{ return PolyMesh::vertex_split(add_vertex(_v0_point), _v1, _vl, _vr); } { return PolyMesh::vertex_split(this->add_vertex(_v0_point), _v1, _vl, _vr); }
/** \brief Vertex Split: inverse operation to collapse(). /** \brief Vertex Split: inverse operation to collapse().
* *
......
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