selected_data -> data to make the transition of old code easier. Old code can be simply converted by adding () after data
Former-commit-id: 02c8268a61
This commit is contained in:
@@ -32,6 +32,6 @@ int main(int argc, char *argv[])
|
||||
|
||||
// Plot the generated mesh
|
||||
igl::opengl::glfw::Viewer viewer;
|
||||
viewer.selected_data().set_mesh(V2,F2);
|
||||
viewer.data().set_mesh(V2,F2);
|
||||
viewer.launch();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user