- removed MM_FACECOLOR and MM_FACENORMAL from the list of the previewable filters, according to the MeshModelState semantic.

This commit is contained in:
Guido Ranzuglia granzuglia 2014-02-21 17:21:08 +00:00
parent f1d2fca0f3
commit 3137badf0d
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ void MeshlabStdDialog::changeCurrentMesh(int meshInd)
bool MeshlabStdDialog::isPreviewable()
{
return ((curmask != MeshModel::MM_UNKNOWN) && (curmask != MeshModel::MM_NONE) && !(curmask & MeshModel::MM_VERTNUMBER) && !(curmask & MeshModel::MM_FACENUMBER));
return ((curmask != MeshModel::MM_UNKNOWN) && (curmask != MeshModel::MM_NONE) && !(curmask & MeshModel::MM_VERTNUMBER) && !(curmask & MeshModel::MM_FACENUMBER) && !(curmask & MeshModel::MM_FACENORMAL) && !(curmask & MeshModel::MM_FACECOLOR) );
}

View File

@ -302,7 +302,7 @@ void MeshLabXMLStdDialog::changeCurrentMesh( int meshInd )
bool MeshLabXMLStdDialog::isPreviewable() const
{
return ((curmask != MeshModel::MM_UNKNOWN) && (curmask != MeshModel::MM_NONE) && !(curmask & MeshModel::MM_VERTNUMBER) && !(curmask & MeshModel::MM_FACENUMBER));
return ((curmask != MeshModel::MM_UNKNOWN) && (curmask != MeshModel::MM_NONE) && !(curmask & MeshModel::MM_VERTNUMBER) && !(curmask & MeshModel::MM_FACENUMBER) && !(curmask & MeshModel::MM_FACENORMAL) && !(curmask & MeshModel::MM_FACECOLOR));
}
void MeshLabXMLStdDialog::resetExpressions()