mirror of https://github.com/CGAL/cgal
Bug fix.
This commit is contained in:
parent
7cd85f845b
commit
31c0777594
|
|
@ -183,11 +183,11 @@ public:
|
|||
bool is_empty() const
|
||||
{
|
||||
return
|
||||
(m_pos_buffer!=nullptr && m_pos_buffer->empty()) &&
|
||||
(m_color_buffer!=nullptr || m_color_buffer->empty()) &&
|
||||
(m_flat_normal_buffer!=nullptr || m_flat_normal_buffer->empty()) &&
|
||||
(m_gouraud_normal_buffer!=nullptr || m_gouraud_normal_buffer->empty()) &&
|
||||
(m_index_buffer!=nullptr || m_index_buffer->empty());
|
||||
(m_pos_buffer==nullptr || m_pos_buffer->empty()) &&
|
||||
(m_color_buffer==nullptr || m_color_buffer->empty()) &&
|
||||
(m_flat_normal_buffer==nullptr || m_flat_normal_buffer->empty()) &&
|
||||
(m_gouraud_normal_buffer==nullptr || m_gouraud_normal_buffer->empty()) &&
|
||||
(m_index_buffer==nullptr || m_index_buffer->empty());
|
||||
}
|
||||
|
||||
bool has_position() const
|
||||
|
|
|
|||
Loading…
Reference in New Issue