mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
improve comment
This commit is contained in:
parent
59f4ea94a3
commit
fe8da0148d
@ -191,7 +191,7 @@ bool SMESH_Gen::Compute(SMESH_Mesh & aMesh,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
// sort list of meshes according to mesh order
|
// sort list of submeshes according to mesh order
|
||||||
// ------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
aMesh.SortByMeshOrder( smWithAlgoSupportingSubmeshes );
|
aMesh.SortByMeshOrder( smWithAlgoSupportingSubmeshes );
|
||||||
|
|
||||||
|
@ -457,6 +457,9 @@ SMESH_Hypothesis::Hypothesis_Status
|
|||||||
// NotConformAllowed can be only global
|
// NotConformAllowed can be only global
|
||||||
if ( !isGlobalHyp )
|
if ( !isGlobalHyp )
|
||||||
{
|
{
|
||||||
|
// NOTE: this is not a correct way to check a name of hypothesis,
|
||||||
|
// there should be an attribute of hypothesis saying that it can/can't
|
||||||
|
// be global/local
|
||||||
string hypName = anHyp->GetName();
|
string hypName = anHyp->GetName();
|
||||||
if ( hypName == "NotConformAllowed" )
|
if ( hypName == "NotConformAllowed" )
|
||||||
{
|
{
|
||||||
@ -499,7 +502,7 @@ SMESH_Hypothesis::Hypothesis_Status
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
HasModificationsToDiscard(); // to reset _isModified flag if mesh become empty
|
HasModificationsToDiscard(); // to reset _isModified flag if a mesh becomes empty
|
||||||
|
|
||||||
if(MYDEBUG) subMesh->DumpAlgoState(true);
|
if(MYDEBUG) subMesh->DumpAlgoState(true);
|
||||||
if(MYDEBUG) SCRUTE(ret);
|
if(MYDEBUG) SCRUTE(ret);
|
||||||
|
Loading…
Reference in New Issue
Block a user