]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack...
authoreap <eap@opencascade.com>
Mon, 10 Sep 2007 14:20:27 +0000 (14:20 +0000)
committereap <eap@opencascade.com>
Mon, 10 Sep 2007 14:20:27 +0000 (14:20 +0000)
-  void Update( int theIsClear = true );
+  bool Update( int theIsClear = true );

src/OBJECT/SMESH_Object.h
src/OBJECT/SMESH_ObjectDef.h

index 44b737ba584005b28f37c007eb13ea7cfd425691..6ba2429720bd1ba2366027f9d4fee6d805980cf0 100644 (file)
@@ -45,7 +45,7 @@ class vtkUnstructuredGrid;
 class SMESH_VisualObj
 {
 public:
-  virtual void Update( int theIsClear = true ) = 0;
+  virtual bool Update( int theIsClear = true ) = 0;
   virtual void UpdateFunctor( const SMESH::Controls::FunctorPtr& theFunctor ) = 0;
   virtual int GetElemDimension( const int theObjId ) = 0;
 
index fff2f819d82b44e93b6eb445147afcda2845bef7..a0acebdace7b64f5477d54e643c56a147359120e 100644 (file)
@@ -61,7 +61,7 @@ public:
                             SMESH_VisualObjDef();
   virtual                   ~SMESH_VisualObjDef();
   
-  virtual void              Update( int theIsClear = true ) = 0;
+  virtual bool              Update( int theIsClear = true ) = 0;
   virtual void              UpdateFunctor( const SMESH::Controls::FunctorPtr& theFunctor ) = 0;
   virtual int               GetElemDimension( const int theObjId ) = 0;
 
@@ -112,7 +112,7 @@ public:
                             SMESH_MeshObj( SMESH::SMESH_Mesh_ptr );
   virtual                   ~SMESH_MeshObj();
   
-  virtual void              Update( int theIsClear = true );
+  virtual bool              Update( int theIsClear = true );
   
   virtual int               GetNbEntities( const SMDSAbs_ElementType) const;
   virtual int               GetEntities( const SMDSAbs_ElementType, TEntityList& ) const;
@@ -142,7 +142,7 @@ public:
                             SMESH_SubMeshObj(SMESH_MeshObj* theMeshObj);
   virtual                   ~SMESH_SubMeshObj();
 
-  virtual void              Update( int theIsClear = true );
+  virtual bool              Update( int theIsClear = true );
   
   virtual void              UpdateFunctor( const SMESH::Controls::FunctorPtr& theFunctor );
   virtual int               GetElemDimension( const int theObjId );