mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 18:18: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
|
else
|
||||||
{
|
{
|
||||||
// clear my commands invoked after lastComputeOrder
|
// clear my commands invoked after lastComputeOrder
|
||||||
map<TCollection_AsciiString, list< Handle(_pyCommand) > >::iterator m2c;
|
// map<TCollection_AsciiString, list< Handle(_pyCommand) > >::iterator m2c;
|
||||||
for ( m2c = myMeth2Commands.begin(); m2c != myMeth2Commands.end(); ++m2c )
|
// for ( m2c = myMeth2Commands.begin(); m2c != myMeth2Commands.end(); ++m2c )
|
||||||
{
|
// {
|
||||||
list< Handle(_pyCommand)> & cmds = m2c->second;
|
// list< Handle(_pyCommand)> & cmds = m2c->second;
|
||||||
if ( !cmds.empty() && cmds.back()->GetOrderNb() > lastComputeOrder )
|
// if ( !cmds.empty() && cmds.back()->GetOrderNb() > lastComputeOrder )
|
||||||
cmds.back()->Clear();
|
// cmds.back()->Clear();
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_pyObject::ClearCommands();
|
_pyObject::ClearCommands();
|
||||||
|
Loading…
Reference in New Issue
Block a user