23394: EDF - non regression test fails - problem of projection of a quadrangle face on a cylinder

This commit is contained in:
eap 2016-11-21 19:30:24 +03:00
parent d053feed93
commit 55a627cc62
2 changed files with 4 additions and 9 deletions

View File

@ -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 ));

View File

@ -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