diff --git a/Basic_viewer/include/CGAL/Graphics_scene.h b/Basic_viewer/include/CGAL/Graphics_scene.h index fd9b2bd9ed7..1d1def2810b 100644 --- a/Basic_viewer/include/CGAL/Graphics_scene.h +++ b/Basic_viewer/include/CGAL/Graphics_scene.h @@ -158,7 +158,7 @@ public: update_bounding_box(lp.bbox() + (lp + lv).bbox() + (lp + lpv).bbox()); } - void reverse_normals() const + void reverse_all_normals() const { m_buffer_for_mono_faces.negate_normals(); m_buffer_for_colored_faces.negate_normals(); diff --git a/Basic_viewer/include/CGAL/Qt/Basic_viewer.h b/Basic_viewer/include/CGAL/Qt/Basic_viewer.h index 82187ce85ae..4d54c9958e2 100644 --- a/Basic_viewer/include/CGAL/Qt/Basic_viewer.h +++ b/Basic_viewer/include/CGAL/Qt/Basic_viewer.h @@ -260,7 +260,7 @@ public: void reverse_all_normals() { m_inverse_normal=!m_inverse_normal; - gBuffer.reverse_normals(); + gBuffer.reverse_all_normals(); } // Returns true if the data structure lies on a plane