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