From 3317092ecd7d031dbf24c68054ddd254112300ea Mon Sep 17 00:00:00 2001 From: Fabio Ganovelli ganovelli Date: Fri, 30 Sep 2011 15:26:21 +0000 Subject: [PATCH] bug: the normals where transformed twice in FP_CAMERA_TRANSFORM --- src/meshlabplugins/filter_camera/filter_camera.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/meshlabplugins/filter_camera/filter_camera.cpp b/src/meshlabplugins/filter_camera/filter_camera.cpp index 35e558eae..50be8962b 100644 --- a/src/meshlabplugins/filter_camera/filter_camera.cpp +++ b/src/meshlabplugins/filter_camera/filter_camera.cpp @@ -397,7 +397,6 @@ bool FilterCameraPlugin::applyFilter(QAction *filter, MeshDocument &md, RichPara { md.meshList[i]->cm.Tr = mat; tri::UpdatePosition::Matrix(md.meshList[i]->cm, md.meshList[i]->cm.Tr); - tri::UpdateNormals::PerVertexMatrix(md.meshList[i]->cm,md.meshList[i]->cm.Tr); tri::UpdateNormals::PerFaceMatrix(md.meshList[i]->cm,md.meshList[i]->cm.Tr); tri::UpdateBounding::Box(md.meshList[i]->cm); md.meshList[i]->cm.Tr.SetIdentity();