From: nds Date: Thu, 17 Nov 2016 11:16:00 +0000 (+0300) Subject: DisplayAllAnnotations correction. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0fc4d9b547538d3e09d8a09d3cf65c4894214bb5;p=modules%2Fgeom.git DisplayAllAnnotations correction. --- diff --git a/src/GEOMGUI/GEOMGUI_AnnotationMgr.cxx b/src/GEOMGUI/GEOMGUI_AnnotationMgr.cxx index e1cecc0d1..f46d527d3 100755 --- a/src/GEOMGUI/GEOMGUI_AnnotationMgr.cxx +++ b/src/GEOMGUI/GEOMGUI_AnnotationMgr.cxx @@ -465,7 +465,7 @@ void GEOMGUI_AnnotationMgr::DisplayAllAnnotations( SOCC_Viewer* theView ) continue; const Handle(GEOMGUI_AnnotationAttrs) aShapeAnnotations = GEOMGUI_AnnotationAttrs::FindAttributes( aSObj ); - if ( !aShapeAnnotations.IsNull() ) + if ( aShapeAnnotations.IsNull() ) continue; int anAnnotationsCount = aShapeAnnotations->GetNbAnnotation();