From bb14e81a9ab66d06a7cc0da87a7bb1727aa79e7b Mon Sep 17 00:00:00 2001 From: Paolo Cignoni cignoni Date: Tue, 14 Jul 2009 08:57:40 +0000 Subject: [PATCH] corrected a small bug in the curvature decoration activation --- src/meshlabplugins/meshdecorate/meshdecorate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshlabplugins/meshdecorate/meshdecorate.cpp b/src/meshlabplugins/meshdecorate/meshdecorate.cpp index f7e200e81..2a74bc519 100644 --- a/src/meshlabplugins/meshdecorate/meshdecorate.cpp +++ b/src/meshlabplugins/meshdecorate/meshdecorate.cpp @@ -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; }