Salome HOME
set Kernel_Utils::Localizer before calling algo->Compute()
authoreap <eap@opencascade.com>
Fri, 5 Mar 2010 07:42:20 +0000 (07:42 +0000)
committereap <eap@opencascade.com>
Fri, 5 Mar 2010 07:42:20 +0000 (07:42 +0000)
src/SMESH/SMESH_subMesh.cxx

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