0021375: EDF 1671 SMESH: Dump study of current state

correctly treat a false algorithm created by _pyMesh::Flush()
This commit is contained in:
eap 2012-02-09 16:42:07 +00:00
parent 0dad6db093
commit b1f48b44b7

View File

@ -1549,6 +1549,10 @@ void _pyMesh::Flush()
algo = newAlgo;
// set algorithm creation
theGen->SetCommandBefore( newCmd, addCmd );
myHypos.push_back( newAlgo );
if ( !myLastComputeCmd.IsNull() &&
newCmd->GetOrderNb() == myLastComputeCmd->GetOrderNb() + 1)
newAlgo->MeshComputed( myLastComputeCmd );
}
else
newCmd->Clear();