corrected a small bug in the curvature decoration activation

This commit is contained in:
Paolo Cignoni cignoni 2009-07-14 08:57:40 +00:00
parent e0f8b49d00
commit bb14e81a9a

View File

@ -465,7 +465,7 @@ bool ExtraMeshDecoratePlugin::StartDecorate(QAction * action, MeshModel &m, GLAr
}
if( ID(action) == DP_SHOW_VERT_PRINC_CURV_DIR )
{
if(m.hasDataMask(MeshModel::MM_VERTCURVDIR)) return false;
if(!m.hasDataMask(MeshModel::MM_VERTCURVDIR)) return false;
}
return true;
}