From 4f4088e81331529eacb50019e8dbba169675f741 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 15 Feb 2012 11:16:59 +0000 Subject: [PATCH] 0021374: EDF 1898 SMESH: Extrusion of a node to have an edge Add accessor methods to all commands of the hypothesis --- src/SMESH_I/SMESH_2smeshpy.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/SMESH_I/SMESH_2smeshpy.cxx b/src/SMESH_I/SMESH_2smeshpy.cxx index ea012abc4..20e218152 100644 --- a/src/SMESH_I/SMESH_2smeshpy.cxx +++ b/src/SMESH_I/SMESH_2smeshpy.cxx @@ -2296,9 +2296,8 @@ void _pyHypothesis::Process( const Handle(_pyCommand)& theCommand) void _pyHypothesis::Flush() { - if ( IsWrapped() ) { - } - else { + if ( !IsAlgo() ) + { list < Handle(_pyCommand) >::iterator cmd = myArgCommands.begin(); for ( ; cmd != myArgCommands.end(); ++cmd ) { // Add access to a wrapped mesh -- 2.39.2