mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-19 19:14:42 +00:00
bug: the normals where transformed twice in FP_CAMERA_TRANSFORM
This commit is contained in:
parent
1f1986ed55
commit
3317092ecd
@ -397,7 +397,6 @@ bool FilterCameraPlugin::applyFilter(QAction *filter, MeshDocument &md, RichPara
|
||||
{
|
||||
md.meshList[i]->cm.Tr = mat;
|
||||
tri::UpdatePosition<CMeshO>::Matrix(md.meshList[i]->cm, md.meshList[i]->cm.Tr);
|
||||
tri::UpdateNormals<CMeshO>::PerVertexMatrix(md.meshList[i]->cm,md.meshList[i]->cm.Tr);
|
||||
tri::UpdateNormals<CMeshO>::PerFaceMatrix(md.meshList[i]->cm,md.meshList[i]->cm.Tr);
|
||||
tri::UpdateBounding<CMeshO>::Box(md.meshList[i]->cm);
|
||||
md.meshList[i]->cm.Tr.SetIdentity();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user