From 3c04fc4dabb0549ced4a0ac0b5e68377a7e79cdc Mon Sep 17 00:00:00 2001 From: Gianpaolo Palma gianpaolopalma Date: Thu, 5 Dec 2013 17:44:26 +0000 Subject: [PATCH] Changed order of min and max in the creation of a Box --- src/meshlabplugins/filter_create/filter_create.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshlabplugins/filter_create/filter_create.cpp b/src/meshlabplugins/filter_create/filter_create.cpp index 14822db21..42743d22b 100644 --- a/src/meshlabplugins/filter_create/filter_create.cpp +++ b/src/meshlabplugins/filter_create/filter_create.cpp @@ -196,7 +196,7 @@ bool FilterCreate::applyFilter(QAction *filter, MeshDocument &md, RichParameterS case CR_BOX: { float sz=par.getFloat("size"); - vcg::Box3f b(vcg::Point3f(1,1,1)*(sz/2),vcg::Point3f(1,1,1)*(-sz/2)); + vcg::Box3f b(vcg::Point3f(1,1,1)*(-sz/2),vcg::Point3f(1,1,1)*(sz/2)); vcg::tri::Box(m->cm,b); m->updateDataMask(MeshModel::MM_POLYGONAL);