mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 09:20:34 +05:00
Do not remove Mesh on geometry change according to request #3134
This commit is contained in:
parent
4f9b4e3fb3
commit
800fdf5fdc
@ -2021,6 +2021,8 @@ CORBA::Boolean SMESH_Gen_i::Compute( SMESH::SMESH_Mesh_ptr theMesh,
|
||||
if ( meshServant ) {
|
||||
meshServant->Load();
|
||||
// NPAL16168: "geometrical group edition from a submesh don't modify mesh computation"
|
||||
// Clear meshy because it was not cleared in CheckGeomModif of previous call
|
||||
meshServant->Clear();
|
||||
meshServant->CheckGeomModif();
|
||||
// get local TopoDS_Shape
|
||||
TopoDS_Shape myLocShape;
|
||||
|
@ -2288,7 +2288,7 @@ void SMESH_Mesh_i::CheckGeomModif( bool isBreakLink )
|
||||
if ( _preMeshInfo )
|
||||
_preMeshInfo->ForgetAllData();
|
||||
|
||||
_impl->Clear();
|
||||
//_impl->Clear();
|
||||
TopoDS_Shape newShape = _gen_i->GeomObjectToShape( mainGO );
|
||||
if ( newShape.IsNull() )
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user