mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 18:20:34 +05:00
23394: EDF - non regression test fails - problem of projection of a quadrangle face on a cylinder
This commit is contained in:
parent
d053feed93
commit
55a627cc62
@ -1258,15 +1258,14 @@ void SMESH_Mesh::NotifySubMeshesHypothesisModification(const SMESH_Hypothesis* h
|
||||
return;
|
||||
|
||||
// if all meshed EDGEs will be notified then the notification is equivalent
|
||||
// to the whole mesh clearing
|
||||
if ( allMeshedEdgesNotified )
|
||||
// to the whole mesh clearing, which is usually faster
|
||||
if ( allMeshedEdgesNotified && NbNodes() > 0 )
|
||||
{
|
||||
if ( NbNodes() > 0 )
|
||||
Clear();
|
||||
Clear();
|
||||
}
|
||||
else
|
||||
{
|
||||
// notify in reverse order to avoid filling of the pool of IDs
|
||||
// notify in reverse order to avoid filling the pool of IDs
|
||||
for ( int i = smToNotify.size()-1; i >= 0; --i )
|
||||
smToNotify[i]->AlgoStateEngine(SMESH_subMesh::MODIF_HYP,
|
||||
const_cast< SMESH_Hypothesis*>( hyp ));
|
||||
|
@ -512,20 +512,17 @@ class smeshBuilder(object, SMESH._objref_SMESH_Gen):
|
||||
## Sets the current mode
|
||||
# @ingroup l1_auxiliary
|
||||
def SetEmbeddedMode( self,theMode ):
|
||||
#self.SetEmbeddedMode(theMode)
|
||||
SMESH._objref_SMESH_Gen.SetEmbeddedMode(self,theMode)
|
||||
|
||||
## Gets the current mode
|
||||
# @ingroup l1_auxiliary
|
||||
def IsEmbeddedMode(self):
|
||||
#return self.IsEmbeddedMode()
|
||||
return SMESH._objref_SMESH_Gen.IsEmbeddedMode(self)
|
||||
|
||||
## Sets the current study. Calling SetCurrentStudy( None ) allows to
|
||||
# switch OFF automatic pubilishing in the Study of mesh objects.
|
||||
# @ingroup l1_auxiliary
|
||||
def SetCurrentStudy( self, theStudy, geompyD = None ):
|
||||
#self.SetCurrentStudy(theStudy)
|
||||
if not geompyD:
|
||||
from salome.geom import geomBuilder
|
||||
geompyD = geomBuilder.geom
|
||||
@ -548,7 +545,6 @@ class smeshBuilder(object, SMESH._objref_SMESH_Gen):
|
||||
## Gets the current study
|
||||
# @ingroup l1_auxiliary
|
||||
def GetCurrentStudy(self):
|
||||
#return self.GetCurrentStudy()
|
||||
return SMESH._objref_SMESH_Gen.GetCurrentStudy(self)
|
||||
|
||||
## Creates a Mesh object importing data from the given UNV file
|
||||
|
Loading…
Reference in New Issue
Block a user