]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021374: EDF 1898 SMESH: Extrusion of a node to have an edge
authoreap <eap@opencascade.com>
Wed, 15 Feb 2012 11:16:59 +0000 (11:16 +0000)
committereap <eap@opencascade.com>
Wed, 15 Feb 2012 11:16:59 +0000 (11:16 +0000)
    Add accessor methods to all commands of the hypothesis

src/SMESH_I/SMESH_2smeshpy.cxx

index ea012abc4192b61600fb051aa6ec5d36b6788d43..20e218152312a3e042c50609ea10327df06b6bb0 100644 (file)
@@ -2296,9 +2296,8 @@ void _pyHypothesis::Process( const Handle(_pyCommand)& theCommand)
 
 void _pyHypothesis::Flush()
 {
-  if ( IsWrapped() ) {
-  }
-  else {
+  if ( !IsAlgo() )
+  {
     list < Handle(_pyCommand) >::iterator cmd = myArgCommands.begin();
     for ( ; cmd != myArgCommands.end(); ++cmd ) {
       // Add access to a wrapped mesh