use empty() BGL helper function to fix compilation

This commit is contained in:
Jane Tournois 2017-06-20 17:33:48 +02:00
parent 0c0177e432
commit 58380c0888
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ public:
stored_polyhedra[1] = bounding_p;
this->add_primitives(stored_polyhedra[0]);
this->add_primitives(stored_polyhedra[1]);
if(bounding_p.empty()) {
if(empty(bounding_p)) {
this->set_surface_only();
} else {
this->add_primitives_to_bounding_tree(stored_polyhedra[1]);