From 7c156331ce7329f6ed95e5c866f1f569ecdaefb7 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 20 Feb 2012 06:59:35 +0000 Subject: [PATCH] 0021375: EDF 1671 SMESH: Dump study of current state Keep hyp parameters modifications done after mesh.Comput() --- src/SMESH_I/SMESH_2smeshpy.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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(); -- 2.39.2