mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0021375: EDF 1671 SMESH: Dump study of current state
Keep hyp parameters modifications done after mesh.Comput()
This commit is contained in:
parent
d632c0f379
commit
7c156331ce
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user