diff --git a/CGAL_ipelets/demo/CGAL_ipelets/nearest_neighbor_graph.cpp b/CGAL_ipelets/demo/CGAL_ipelets/nearest_neighbor_graph.cpp index dba78413f75..32cec4460dd 100644 --- a/CGAL_ipelets/demo/CGAL_ipelets/nearest_neighbor_graph.cpp +++ b/CGAL_ipelets/demo/CGAL_ipelets/nearest_neighbor_graph.cpp @@ -32,8 +32,14 @@ struct nngIpelet void protected_run(int); }; -void nngIpelet::protected_run(int /*fn*/) +void nngIpelet::protected_run(int fn) { + + if(fn == 1){ + show_help(); + return; + } + std::list pt_list; read_active_objects(