From: eap Date: Thu, 9 Feb 2012 16:42:07 +0000 (+0000) Subject: 0021375: EDF 1671 SMESH: Dump study of current state X-Git-Tag: V6_5_0a1~141 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b1f48b44b733498417a3289b6642729dafc9c73f;p=modules%2Fsmesh.git 0021375: EDF 1671 SMESH: Dump study of current state correctly treat a false algorithm created by _pyMesh::Flush() --- diff --git a/src/SMESH_I/SMESH_2smeshpy.cxx b/src/SMESH_I/SMESH_2smeshpy.cxx index 868d62fd6..ea012abc4 100644 --- a/src/SMESH_I/SMESH_2smeshpy.cxx +++ b/src/SMESH_I/SMESH_2smeshpy.cxx @@ -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();