mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-17 01:54:42 +00:00
Small changes to make the edit align working again:
- removed assert disabling - removed wrong assert - corrected test in the aling (thanks gianpaolo)
This commit is contained in:
parent
f9fd6a9132
commit
4fa4f0eeff
@ -339,7 +339,7 @@ bool AlignPair::Align(
|
||||
if (beyondCntVec[i] < maxBeyondCnt)
|
||||
{
|
||||
|
||||
if (!fixbox.IsIn(movvert[i]))
|
||||
if (fixbox.IsIn(movvert[i]))
|
||||
{
|
||||
double error = StartMinDist;
|
||||
Point3d closestPoint, closestNormal;
|
||||
|
||||
@ -37,8 +37,5 @@ INCLUDEPATH += ../../external
|
||||
|
||||
FORMS += alignDialog.ui
|
||||
TARGET = edit_align
|
||||
|
||||
RESOURCES = edit_align.qrc
|
||||
release {DEFINES += NDEBUG}
|
||||
macx:QMAKE_CXX=g++
|
||||
|
||||
|
||||
@ -91,9 +91,7 @@ public:
|
||||
for(QList<vcg::AlignPair::Result>::iterator li=resultList.begin();li!=resultList.end();++li)
|
||||
if((li->MovName==id1 && li->FixName==id2) ||
|
||||
(li->MovName==id2 && li->FixName==id1) ) return &*li;
|
||||
|
||||
assert("You are trying to find an unexistent result"==0);
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void deleteResult(MeshNode *mp)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user