Updated to the changes of Inertia

This commit is contained in:
Paolo Cignoni cignoni 2012-10-19 12:50:42 +00:00
parent 9c51df3501
commit 37190bb51d

View File

@ -968,8 +968,7 @@ bool ExtraMeshFilterPlugin::applyFilter(QAction * filter, MeshDocument & md, Ric
}
else
{
tri::Inertia<CMeshO> I;
I.Compute(m.cm);
tri::Inertia<CMeshO> I(m.cm);
Matrix33f PCA;
Point3f pcav;