mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
PAL13504 (Mesh from an imported mesh)
set default value of mySetElemOnShape in dependence of mesh->HasShapeToMesh()
This commit is contained in:
parent
49a1404d87
commit
03b8a7d78f
@ -51,8 +51,10 @@
|
||||
//================================================================================
|
||||
|
||||
SMESH_MesherHelper::SMESH_MesherHelper(SMESH_Mesh& theMesh)
|
||||
: myMesh(&theMesh), myShapeID(-1), myCreateQuadratic(false), mySetElemOnShape(false)
|
||||
{}
|
||||
: myMesh(&theMesh), myShapeID(-1), myCreateQuadratic(false)
|
||||
{
|
||||
mySetElemOnShape = ( ! myMesh->HasShapeToMesh() );
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : CheckShape
|
||||
|
@ -130,7 +130,8 @@ public:
|
||||
|
||||
/*!
|
||||
* \brief To set created elements on the shape set by IsQuadraticSubMesh()
|
||||
* or the next methods. By defaul elements are not set on the shape
|
||||
* or the next methods. By defaul elements are set on the shape if
|
||||
* a mesh has no shape to be meshed
|
||||
*/
|
||||
void SetElementsOnShape(bool toSet) { mySetElemOnShape = toSet; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user