]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
IPAL21267 SIGSEGV on Show Mesh in VTK viewer in GEOM module. Regress.
authordmv <dmv@opencascade.com>
Fri, 24 Jul 2009 06:21:53 +0000 (06:21 +0000)
committerdmv <dmv@opencascade.com>
Fri, 24 Jul 2009 06:21:53 +0000 (06:21 +0000)
src/GEOMGUI/GEOMGUI_Selection.cxx

index 8969e8b4f54f241b532a11e748b7b867b5587868..1cff7b460d86b6ea73527de13021caeef557ea51 100644 (file)
@@ -209,7 +209,8 @@ bool GEOMGUI_Selection::isVectorsMode( const int index ) const
          vtkActor* actor = lst->GetNextActor();
          if ( actor ) {
            GEOM_Actor* aGeomActor = GEOM_Actor::SafeDownCast(actor);
-           ret = aGeomActor->GetVectorMode();
+           if ( aGeomActor )
+             ret = aGeomActor->GetVectorMode();
          }
        }
       }