set Kernel_Utils::Localizer before calling algo->Compute()

This commit is contained in:
eap 2010-03-05 07:42:20 +00:00
parent e1e680f157
commit 8781de04b7

View File

@ -39,6 +39,7 @@
#include "utilities.h" #include "utilities.h"
#include "OpUtil.hxx" #include "OpUtil.hxx"
#include "Basics_Utils.hxx"
#include <BRep_Builder.hxx> #include <BRep_Builder.hxx>
#include <BRep_Tool.hxx> #include <BRep_Tool.hxx>
@ -1370,6 +1371,7 @@ bool SMESH_subMesh::ComputeStateEngine(int event)
algo->InitComputeError(); algo->InitComputeError();
MemoryReserve aMemoryReserve; MemoryReserve aMemoryReserve;
SMDS_Mesh::CheckMemory(); SMDS_Mesh::CheckMemory();
Kernel_Utils::Localizer loc;
if ( !_father->HasShapeToMesh() ) // no shape if ( !_father->HasShapeToMesh() ) // no shape
{ {
SMESH_MesherHelper helper( *_father ); SMESH_MesherHelper helper( *_father );