Commit 6c7ec4ab authored by Isaak Lim's avatar Isaak Lim

- marked current_halfedge_handle as deprecated

- updated code to fix related warnings


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17239 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 3722d966
......@@ -814,13 +814,13 @@ void TopologyPlugin::split_edge(QMouseEvent* _event) {
PolyMesh& m = *PluginFunctions::polyMesh(object);
PolyMesh::FaceHandle fh = m.face_handle(target_idx);
PolyMesh::FaceEdgeIter fe_it(m,fh);
PolyMesh::FaceHalfedgeIter fh_it(m,fh);
std::vector<PolyMesh::HalfedgeHandle> halfEdgeHandles;
//get all edges which belongs to the picked face
for (;fe_it.is_valid(); ++fe_it)
for (;fh_it.is_valid(); ++fh_it)
{
halfEdgeHandles.push_back(fe_it.current_halfedge_handle());
halfEdgeHandles.push_back(*fh_it);
}
//search for the nearest edge
......
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