mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 18:20:34 +05:00
Fix crash (found by make installcheck) - temporary solution
This commit is contained in:
parent
f3171e5c4e
commit
c23ba6b3e4
@ -745,8 +745,10 @@ struct SMESH_MeshEditor_i::_IDSource : public POA_SMESH::SMESH_IDSource
|
||||
SMESH::SMESH_IDSource_ptr SMESH_MeshEditor_i::MakeIDSource(const SMESH::long_array& ids,
|
||||
SMESH::ElementType type)
|
||||
{
|
||||
if ( myAuxIDSources.size() > 10 )
|
||||
deleteAuxIDSources();
|
||||
if ( myAuxIDSources.size() > 10 ) {
|
||||
delete myAuxIDSources.front();
|
||||
myAuxIDSources.pop_front();
|
||||
}
|
||||
|
||||
_IDSource* idSrc = new _IDSource;
|
||||
idSrc->_mesh = myMesh_i->_this();
|
||||
|
Loading…
Reference in New Issue
Block a user