mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
Minor corrections for debug messages
This commit is contained in:
parent
60aec28a55
commit
c8f2626526
@ -242,8 +242,9 @@ SMESH_Mesh::~SMESH_Mesh()
|
|||||||
|
|
||||||
if(_pool)
|
if(_pool)
|
||||||
DeletePoolThreads();
|
DeletePoolThreads();
|
||||||
if (!MYDEBUG)
|
#ifndef _DEBUG_
|
||||||
fs::remove_all(tmp_folder);
|
fs::remove_all(tmp_folder);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
|
@ -63,10 +63,9 @@ using namespace std;
|
|||||||
|
|
||||||
#ifdef _DEBUG_
|
#ifdef _DEBUG_
|
||||||
// enable printing algo + shape id + hypo used while meshing
|
// enable printing algo + shape id + hypo used while meshing
|
||||||
//#define PRINT_WHO_COMPUTE_WHAT
|
#define PRINT_WHO_COMPUTE_WHAT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define PRINT_WHO_COMPUTE_WHAT
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
/*!
|
/*!
|
||||||
* \brief Allocate some memory at construction and release it at destruction.
|
* \brief Allocate some memory at construction and release it at destruction.
|
||||||
@ -1645,12 +1644,10 @@ bool SMESH_subMesh::ComputeStateEngine(compute_event event)
|
|||||||
}
|
}
|
||||||
#ifdef PRINT_WHO_COMPUTE_WHAT
|
#ifdef PRINT_WHO_COMPUTE_WHAT
|
||||||
for (subS.ReInit(); subS.More(); subS.Next())
|
for (subS.ReInit(); subS.More(); subS.Next())
|
||||||
{
|
|
||||||
const std::list <const SMESHDS_Hypothesis *> & hyps
|
|
||||||
{
|
{
|
||||||
SMESH_MeshLocker myLocker(_father);
|
SMESH_MeshLocker myLocker(_father);
|
||||||
hyps = _algo->GetUsedHypothesis( *_father, _subShape );
|
const std::list <const SMESHDS_Hypothesis *> & hyps =
|
||||||
}
|
_algo->GetUsedHypothesis( *_father, _subShape );
|
||||||
SMESH_Comment hypStr;
|
SMESH_Comment hypStr;
|
||||||
if ( !hyps.empty() )
|
if ( !hyps.empty() )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user