mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 03:16:10 +00:00
Changed order of min and max in the creation of a Box
This commit is contained in:
parent
ad2a902556
commit
3c04fc4dab
@ -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<CMeshO>(m->cm,b);
|
||||
m->updateDataMask(MeshModel::MM_POLYGONAL);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user