mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 11:26:11 +00:00
changed ApplyRigidTransformation to ApplySimilarity to support scaling
This commit is contained in:
parent
e483c81357
commit
2ea877d79e
@ -388,7 +388,8 @@ bool FilterCameraPlugin::applyFilter(QAction *filter, MeshDocument &md, RichPara
|
||||
}
|
||||
break;
|
||||
case FP_CAMERA_TRANSFORM :
|
||||
{vcg::Matrix44f mat = par.getMatrix44("TransformMatrix");
|
||||
{
|
||||
vcg::Matrix44f mat = par.getMatrix44("TransformMatrix");
|
||||
|
||||
if (par.getBool("toall"))
|
||||
{
|
||||
@ -413,7 +414,7 @@ bool FilterCameraPlugin::applyFilter(QAction *filter, MeshDocument &md, RichPara
|
||||
{
|
||||
for (int i=0; i<md.rasterList.size(); i++)
|
||||
{
|
||||
md.rasterList[i]->shot.ApplyRigidTransformation(mat);
|
||||
md.rasterList[i]->shot.ApplySimilarity(mat);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user