mirror of https://github.com/CGAL/cgal
Bugfix: has_normal_map() instead of has_normals()
This commit is contained in:
parent
0017a02317
commit
f095e21e60
|
|
@ -123,7 +123,7 @@ write_xyz_point_set(
|
|||
std::ostream& stream, ///< output stream.
|
||||
const Point_set_3<Point, Vector>& point_set) ///< point set
|
||||
{
|
||||
if (point_set.has_normals())
|
||||
if (point_set.has_normal_map())
|
||||
return CGAL::write_xyz_points_and_normals
|
||||
(stream, point_set.begin(), point_set.end(),
|
||||
point_set.point_map(), point_set.normal_map());
|
||||
|
|
@ -161,7 +161,7 @@ write_ply_point_set(
|
|||
std::ostream& stream, ///< output stream.
|
||||
const Point_set_3<Point, Vector>& point_set) ///< point set
|
||||
{
|
||||
if (point_set.has_normals())
|
||||
if (point_set.has_normal_map())
|
||||
return CGAL::write_ply_points_and_normals
|
||||
(stream, point_set.begin(), point_set.end(),
|
||||
point_set.point_map(), point_set.normal_map());
|
||||
|
|
|
|||
Loading…
Reference in New Issue