From b1f48b44b733498417a3289b6642729dafc9c73f Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 9 Feb 2012 16:42:07 +0000 Subject: [PATCH] 0021375: EDF 1671 SMESH: Dump study of current state correctly treat a false algorithm created by _pyMesh::Flush() --- src/SMESH_I/SMESH_2smeshpy.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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(); -- 2.39.2