using dynamic request_attribute method for the example

closes #2422

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1242 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Matthias Möller
2015-03-11 12:46:32 +00:00
parent 7c589bb661
commit 6ca78b0659
3 changed files with 19 additions and 9 deletions

View File

@@ -609,9 +609,14 @@ TEST_F(OpenMeshTutorials, extending_the_mesh_using_traits) {
EXPECT_TRUE(ok) << "Cannot write mesh to file 'smoothed_extended_output.off'";
}
/*
TEST_F(OpenMeshTutorials, deleting_geometry_elements) {
MyMeshWithStatus mesh;
Mesh mesh;
// the request has to be called before a vertex/face/edge can be deleted. it grants access to the status attribute
mesh.request_face_status();
mesh.request_edge_status();
mesh.request_vertex_status();
// generate vertices
MyMeshWithStatus::VertexHandle vhandle[8];
@@ -730,7 +735,7 @@ TEST_F(OpenMeshTutorials, deleting_geometry_elements) {
EXPECT_TRUE(ok) << "Cannot write mesh to file 'deleted_output.off'";
}
*/
TEST_F(OpenMeshTutorials, storing_custom_properties) {
MyMesh mesh;