Fix Create_bbox_mesh_plugin

This commit is contained in:
Maxime Gimeno 2016-06-14 11:15:17 +02:00
parent 5b123c8097
commit 2341f8aa42
1 changed files with 2 additions and 2 deletions

View File

@ -135,10 +135,10 @@ void Create_bbox_mesh_plugin::bbox(bool extended)
const double delta_z = ( bbox.zmax() - bbox.zmin() ) / 20.;
bbox = Scene_interface::Bbox(
bbox.xmin() - delta_x,
bbox.xmax() + delta_x,
bbox.ymin() - delta_y,
bbox.ymax() + delta_y,
bbox.zmin() - delta_z,
bbox.xmax() + delta_x,
bbox.ymax() + delta_y,
bbox.zmax() + delta_z);
}