From: eap Date: Mon, 20 Feb 2012 06:59:35 +0000 (+0000) Subject: 0021375: EDF 1671 SMESH: Dump study of current state X-Git-Tag: V6_5_0a1~121 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7c156331ce7329f6ed95e5c866f1f569ecdaefb7;p=modules%2Fsmesh.git 0021375: EDF 1671 SMESH: Dump study of current state Keep hyp parameters modifications done after mesh.Comput() --- diff --git a/src/SMESH_I/SMESH_2smeshpy.cxx b/src/SMESH_I/SMESH_2smeshpy.cxx index 38fd59137..983bdda97 100644 --- a/src/SMESH_I/SMESH_2smeshpy.cxx +++ b/src/SMESH_I/SMESH_2smeshpy.cxx @@ -2423,13 +2423,13 @@ void _pyHypothesis::ClearCommands() else { // clear my commands invoked after lastComputeOrder - map >::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 >::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();