]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021375: EDF 1671 SMESH: Dump study of current state
authoreap <eap@opencascade.com>
Mon, 20 Feb 2012 06:59:35 +0000 (06:59 +0000)
committereap <eap@opencascade.com>
Mon, 20 Feb 2012 06:59:35 +0000 (06:59 +0000)
    Keep hyp parameters modifications done after mesh.Comput()

src/SMESH_I/SMESH_2smeshpy.cxx

index 38fd59137cee91a6de305f19457779b511654eee..983bdda977c3beb7552ea0328e571648dbbbbc29 100644 (file)
@@ -2423,13 +2423,13 @@ void _pyHypothesis::ClearCommands()
     else
     {
       // clear my commands invoked after lastComputeOrder
-      map<TCollection_AsciiString, list< Handle(_pyCommand) > >::iterator m2c;
-      for ( m2c = myMeth2Commands.begin(); m2c != myMeth2Commands.end(); ++m2c )
-      {
-        list< Handle(_pyCommand)> & cmds = m2c->second;
-        if ( !cmds.empty() && cmds.back()->GetOrderNb() > lastComputeOrder )
-          cmds.back()->Clear();
-      }
+      // map<TCollection_AsciiString, list< Handle(_pyCommand) > >::iterator m2c;
+      // for ( m2c = myMeth2Commands.begin(); m2c != myMeth2Commands.end(); ++m2c )
+      // {
+      //   list< Handle(_pyCommand)> & cmds = m2c->second;
+      //   if ( !cmds.empty() && cmds.back()->GetOrderNb() > lastComputeOrder )
+      //     cmds.back()->Clear();
+      // }
     }
   }
   _pyObject::ClearCommands();