mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-12 09:40:35 +05:00
IPAL0054674: Wrong mesh icon after mesh modification
+ minor doc imp
This commit is contained in:
parent
7f8c5c9aa7
commit
928a9967c9
@ -108,6 +108,9 @@ Creating groups of entities basing on nodes of other groups
|
|||||||
.. image:: ../images/dimgroup_tui1.png
|
.. image:: ../images/dimgroup_tui1.png
|
||||||
:align: center
|
:align: center
|
||||||
|
|
||||||
|
|
||||||
|
.. _tui_groups_by_sharp_edges:
|
||||||
|
|
||||||
Creating face groups separated by sharp edges
|
Creating face groups separated by sharp edges
|
||||||
=============================================
|
=============================================
|
||||||
|
|
||||||
|
@ -663,8 +663,8 @@ SMESH_Mesh_i::AddHypothesis(GEOM::GEOM_Object_ptr aSubShape,
|
|||||||
{
|
{
|
||||||
_gen_i->AddHypothesisToShape( mesh, aSubShape, anHyp );
|
_gen_i->AddHypothesisToShape( mesh, aSubShape, anHyp );
|
||||||
|
|
||||||
int newNbMeshEnt = _impl->NbNodes() + _impl->GetMeshDS()->NbElements();
|
//int newNbMeshEnt = _impl->NbNodes() + _impl->GetMeshDS()->NbElements();
|
||||||
if ( newNbMeshEnt != prevNbMeshEnt )
|
if ( prevNbMeshEnt > 0 /*newNbMeshEnt != prevNbMeshEnt*/ )
|
||||||
_gen_i->UpdateIcons( mesh );
|
_gen_i->UpdateIcons( mesh );
|
||||||
}
|
}
|
||||||
if(MYDEBUG) MESSAGE( " AddHypothesis(): status = " << status );
|
if(MYDEBUG) MESSAGE( " AddHypothesis(): status = " << status );
|
||||||
|
@ -2091,6 +2091,9 @@ class Mesh(metaclass = MeshMeta):
|
|||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
submeshes: list of lists of :class:`sub-meshes <SMESH.SMESH_subMesh>`
|
submeshes: list of lists of :class:`sub-meshes <SMESH.SMESH_subMesh>`
|
||||||
|
|
||||||
|
Warning: the method is for setting the order for all sub-meshes at once:
|
||||||
|
SetMeshOrder( [ [sm1, sm2, sm3], [sm4, sm5] ] )
|
||||||
"""
|
"""
|
||||||
|
|
||||||
return self.mesh.SetMeshOrder(submeshes)
|
return self.mesh.SetMeshOrder(submeshes)
|
||||||
|
Loading…
Reference in New Issue
Block a user