mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 02:00:34 +05:00
IPAL54382: TC8.5.0: SMESH: Regression in mesh visualization (body fitting)
This commit is contained in:
parent
bfd1d67c06
commit
88a6b8d690
@ -518,7 +518,8 @@ bool SMESH_VisualObjDef::GetEdgeNodes( const int theElemId,
|
||||
|
||||
vtkUnstructuredGrid* SMESH_VisualObjDef::GetUnstructuredGrid()
|
||||
{
|
||||
if ( !myLocalGrid && !GetMesh()->IsCompacted() )
|
||||
if ( !myLocalGrid && ( !GetMesh()->IsCompacted() || // !IsCompacted() is needed ???
|
||||
GetMesh()->GetGrid()->GetMTime() > myGrid->GetMTime() ))
|
||||
{
|
||||
NulData(); // detach from the SMDS grid to allow immediate memory de-allocation in CompactMesh()
|
||||
GetMesh()->CompactMesh();
|
||||
|
@ -1047,7 +1047,7 @@ void SMESHDS_Mesh::ClearMesh()
|
||||
}
|
||||
else
|
||||
{
|
||||
(*group)->Extent(); // to free cashed elements in GroupOnFilter's
|
||||
(*group)->Extent(); // to free cached elements in GroupOnFilter's
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -160,7 +160,7 @@ SMESH_Mesh_i::~SMESH_Mesh_i()
|
||||
}
|
||||
_mapHypo.clear();
|
||||
|
||||
// clear cashed shapes if no more meshes remain; (the cash is blame,
|
||||
// clear cached shapes if no more meshes remain; (the cache is blame,
|
||||
// together with publishing, of spent time increasing in issue 22874)
|
||||
if ( _impl->NbMeshes() == 1 )
|
||||
_gen_i->GetShapeReader()->ClearClientBuffer();
|
||||
|
Loading…
Reference in New Issue
Block a user