mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 18:00:34 +05:00
Fix regression (SIGSEGV) caused by improvement 0022099
This commit is contained in:
parent
a541c7e70e
commit
2cbc0e004d
@ -525,8 +525,10 @@ bool SMESHGUI_RotationDlg::ClickOnApply()
|
||||
} catch (...) {
|
||||
}
|
||||
|
||||
for ( int i = 0; i < myMeshes.count(); i++ )
|
||||
SMESH::Update( (SMESH::FindActorByObject( myMeshes[i] ))->getIO(), true );
|
||||
for ( int i = 0; i < myObjects.count(); i++ ) {
|
||||
SMESH_Actor* actor = SMESH::FindActorByObject( myObjects[i] );
|
||||
if ( actor ) SMESH::Update( actor->getIO(), true );
|
||||
}
|
||||
|
||||
if ( ( MakeGroupsCheck->isEnabled() && MakeGroupsCheck->isChecked() ) ||
|
||||
actionButton == MAKE_MESH_BUTTON ) {
|
||||
|
@ -564,8 +564,10 @@ bool SMESHGUI_ScaleDlg::ClickOnApply()
|
||||
} catch (...) {
|
||||
}
|
||||
|
||||
for ( int i = 0; i < myMeshes.count(); i++ )
|
||||
SMESH::Update( (SMESH::FindActorByObject( myMeshes[i] ))->getIO(), true );
|
||||
for ( int i = 0; i < myObjects.count(); i++ ) {
|
||||
SMESH_Actor* actor = SMESH::FindActorByObject( myObjects[i] );
|
||||
if ( actor ) SMESH::Update( actor->getIO(), true );
|
||||
}
|
||||
|
||||
if ( ( MakeGroupsCheck->isEnabled() && MakeGroupsCheck->isChecked() ) ||
|
||||
actionButton == MAKE_MESH_BUTTON ) {
|
||||
|
@ -583,8 +583,10 @@ bool SMESHGUI_SymmetryDlg::ClickOnApply()
|
||||
} catch (...) {
|
||||
}
|
||||
|
||||
for ( int i = 0; i < myMeshes.count(); i++ )
|
||||
SMESH::Update( (SMESH::FindActorByObject( myMeshes[i] ))->getIO(), true );
|
||||
for ( int i = 0; i < myObjects.count(); i++ ) {
|
||||
SMESH_Actor* actor = SMESH::FindActorByObject( myObjects[i] );
|
||||
if ( actor ) SMESH::Update( actor->getIO(), true );
|
||||
}
|
||||
|
||||
if ( ( MakeGroupsCheck->isEnabled() && MakeGroupsCheck->isChecked() ) ||
|
||||
actionButton == MAKE_MESH_BUTTON ) {
|
||||
|
@ -592,8 +592,10 @@ bool SMESHGUI_TranslationDlg::ClickOnApply()
|
||||
} catch (...) {
|
||||
}
|
||||
|
||||
for ( int i = 0; i < myMeshes.count(); i++ )
|
||||
SMESH::Update( (SMESH::FindActorByObject( myMeshes[i] ))->getIO(), true );
|
||||
for ( int i = 0; i < myObjects.count(); i++ ) {
|
||||
SMESH_Actor* actor = SMESH::FindActorByObject( myObjects[i] );
|
||||
if ( actor ) SMESH::Update( actor->getIO(), true );
|
||||
}
|
||||
|
||||
if ( ( MakeGroupsCheck->isEnabled() && MakeGroupsCheck->isChecked() ) ||
|
||||
actionButton == MAKE_MESH_BUTTON ) {
|
||||
|
Loading…
Reference in New Issue
Block a user