mirror of https://github.com/CGAL/cgal
copy properties correctly
This commit is contained in:
parent
4305f01384
commit
e3bd371c3e
|
|
@ -245,8 +245,8 @@ public:
|
||||||
m_base = ps.m_base;
|
m_base = ps.m_base;
|
||||||
m_indices = this->property_map<Index> ("index").value();
|
m_indices = this->property_map<Index> ("index").value();
|
||||||
m_points = this->property_map<Point> ("point").value();
|
m_points = this->property_map<Point> ("point").value();
|
||||||
m_normals = this->property_map<Vector> ("normal").value();
|
|
||||||
m_nb_removed = ps.m_nb_removed;
|
m_nb_removed = ps.m_nb_removed;
|
||||||
|
copy_properties(ps);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -257,7 +257,7 @@ public:
|
||||||
m_base = ps.m_base;
|
m_base = ps.m_base;
|
||||||
m_indices = this->property_map<Index> ("index").value();
|
m_indices = this->property_map<Index> ("index").value();
|
||||||
m_points = this->property_map<Point> ("point").value();
|
m_points = this->property_map<Point> ("point").value();
|
||||||
m_normals = this->property_map<Vector> ("normal").value();
|
copy_properties(ps);
|
||||||
m_nb_removed = ps.m_nb_removed;
|
m_nb_removed = ps.m_nb_removed;
|
||||||
}
|
}
|
||||||
/// \endcond
|
/// \endcond
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue