0021208: Performance issue when loading SMESH with an hdf file containing a big mesh

loadDependentMeshes() before algo->Compute()
This commit is contained in:
eap 2012-03-22 14:09:13 +00:00
parent 3ca6b8c524
commit 264238f852

View File

@ -1383,9 +1383,11 @@ bool SMESH_subMesh::ComputeStateEngine(int event)
break;
}
}
// compute
// Compute
//cleanDependants(); for "UseExisting_*D" algos
//removeSubMeshElementsAndNodes();
loadDependentMeshes();
ret = false;
_computeState = FAILED_TO_COMPUTE;
_computeError = SMESH_ComputeError::New(COMPERR_OK,"",algo);
@ -1638,6 +1640,8 @@ bool SMESH_subMesh::ComputeStateEngine(int event)
else
_computeState = NOT_READY;
break;
// case SUBMESH_LOADED:
// break;
default:
ASSERT(0);
break;