mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 09:20:34 +05:00
Suppress SIGSEGV at automatic group creation
This commit is contained in:
parent
fa3a593199
commit
8c589f8585
@ -1723,8 +1723,9 @@ bool SMESHGUI_MeshOp::createSubMesh( QString& theMess, QStringList& theEntryList
|
||||
GEOM::GEOM_Object_wrap aGroupVar = op->CreateGroup(mainGeom, aGroupType);
|
||||
op->UnionList(aGroupVar, aSeq);
|
||||
|
||||
if (op->IsDone()) {
|
||||
aGeomVar = aGroupVar.in();
|
||||
if (op->IsDone())
|
||||
{
|
||||
aGeomVar = GEOM::GEOM_Object::_duplicate( aGroupVar.in() );
|
||||
|
||||
// publish the GEOM group in study
|
||||
QString aNewGeomGroupName ("Auto_group_for_");
|
||||
|
Loading…
Reference in New Issue
Block a user