Commit d42d01de authored by Hans-Christian Ebke's avatar Hans-Christian Ebke

Added return value to TriMesh::split operation.

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@617 fdac6126-5c0c-442c-9429-916003d36597
parent 2355ad6f
......@@ -178,8 +178,8 @@ public:
/// Edge split (= 2-to-4 split)
/// Do not call PolyMeshT function below as this does the wrong operation
inline void split(EdgeHandle _eh, const Point& _p)
{ Kernel::split(_eh, this->add_vertex(_p)); }
inline VertexHandle split(EdgeHandle _eh, const Point& _p)
{ const VertexHandle vh = this->add_vertex(_p); Kernel::split(_eh, vh); return vh; }
inline void split(EdgeHandle _eh, VertexHandle _vh)
{ Kernel::split(_eh, _vh); }
......
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