]> SALOME platform Git repositories - modules/smesh.git/commit
Salome HOME
0022172: [CEA 790] create the groups corresponding to domains
authoreap <eap@opencascade.com>
Fri, 24 May 2013 11:46:27 +0000 (11:46 +0000)
committereap <eap@opencascade.com>
Fri, 24 May 2013 11:46:27 +0000 (11:46 +0000)
commit10a6101340f612ab64b73ed32728a392acfbda5f
tree2afa91917054074f39aeb1666a16f2f138a103f2
parent610978f5f6cea58e464fc8d8dcf0e3fb5513ac90
0022172: [CEA 790] create the groups corresponding to domains

1) Reset _algo = 0 if ( event == REMOVE_ALGO || event == REMOVE_FATHER_ALGO )

2) Avoid erasing _computeError holding a WARNING is algo->Compute() returns true

-          if ( !_computeError || ( !ret && _computeError->IsOK() ) )
+          if ( !_computeError || (/* !ret && */_computeError->IsOK() ) )
             _computeError = algo->GetComputeError();

3) Fix notifyListenersOnEvent():

-      if ( !isDeletable || !_eventListeners.count( li_da.first ))
+      if ( !isDeletable || _eventListeners.count( li_da.first ))
         li_da.first->myBusySM.erase( this ); // a listener is hopefully not dead
src/SMESH/SMESH_subMesh.cxx