mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-28 12:00:32 +05:00
indentation
This commit is contained in:
parent
50e4126336
commit
7c9baff7a5
@ -832,19 +832,15 @@ void SMESHGUI_BaseComputeOp::computeMesh()
|
|||||||
#if (OCC_VERSION_MAJOR << 16 | OCC_VERSION_MINOR << 8 | OCC_VERSION_MAINTENANCE) > 0x060100
|
#if (OCC_VERSION_MAJOR << 16 | OCC_VERSION_MINOR << 8 | OCC_VERSION_MAINTENANCE) > 0x060100
|
||||||
OCC_CATCH_SIGNALS;
|
OCC_CATCH_SIGNALS;
|
||||||
#endif
|
#endif
|
||||||
//SMESH::UpdateNulData(myIObject, true);
|
|
||||||
bool res;
|
bool res;
|
||||||
#ifdef WITH_SMESH_CANCEL_COMPUTE
|
|
||||||
SMESHGUI_ComputeDlg_QThreadQDialog qthreaddialog(desktop(), gen, myMesh, myMainShape);
|
SMESHGUI_ComputeDlg_QThreadQDialog qthreaddialog(desktop(), gen, myMesh, myMainShape);
|
||||||
qthreaddialog.exec();
|
qthreaddialog.exec();
|
||||||
res = qthreaddialog.result();
|
res = qthreaddialog.result();
|
||||||
#else
|
|
||||||
res = gen->Compute(myMesh, myMainShape);
|
res = gen->Compute(myMesh, myMainShape);
|
||||||
#endif
|
|
||||||
if (res)
|
if (res)
|
||||||
computeFailed = false;
|
computeFailed = false;
|
||||||
}
|
}
|
||||||
catch(const SALOME::SALOME_Exception & S_ex){
|
catch(const SALOME::SALOME_Exception & S_ex) {
|
||||||
memoryLack = true;
|
memoryLack = true;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
@ -856,7 +852,7 @@ void SMESHGUI_BaseComputeOp::computeMesh()
|
|||||||
for ( int i = 0; (i < aCompErrors->length()) && !memoryLack; ++i )
|
for ( int i = 0; (i < aCompErrors->length()) && !memoryLack; ++i )
|
||||||
memoryLack = ( aCompErrors[ i ].code == SMESH::COMPERR_MEMORY_PB );
|
memoryLack = ( aCompErrors[ i ].code == SMESH::COMPERR_MEMORY_PB );
|
||||||
}
|
}
|
||||||
catch(const SALOME::SALOME_Exception & S_ex){
|
catch(const SALOME::SALOME_Exception & S_ex) {
|
||||||
memoryLack = true;
|
memoryLack = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user