]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
DisplayAllAnnotations correction.
authornds <nds@opencascade.com>
Thu, 17 Nov 2016 11:16:00 +0000 (14:16 +0300)
committernds <nds@opencascade.com>
Thu, 17 Nov 2016 11:16:00 +0000 (14:16 +0300)
src/GEOMGUI/GEOMGUI_AnnotationMgr.cxx

index e1cecc0d13ceb8187844a1d4110c0578e16aa97a..f46d527d3234957b78df5834b6b0e662f926138f 100755 (executable)
@@ -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();