From 6920cb0594f18485730b1071538c95d92bcecfe3 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 20 Sep 2013 15:10:03 +0000 Subject: [PATCH] Restore Swap "aFilterManager.CreateFilter()" and "smesh.GetFilterFromCriteria(criteria)" --- src/SMESH_I/SMESH_2smeshpy.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/SMESH_I/SMESH_2smeshpy.cxx b/src/SMESH_I/SMESH_2smeshpy.cxx index 3a0d8120c..4721b7f77 100644 --- a/src/SMESH_I/SMESH_2smeshpy.cxx +++ b/src/SMESH_I/SMESH_2smeshpy.cxx @@ -4617,12 +4617,12 @@ void _pyFilter::Process( const Handle(_pyCommand)& theCommand) theCommand->SetMethod( "GetFilterFromCriteria" ); // Swap "aFilterManager.CreateFilter()" and "smesh.GetFilterFromCriteria(criteria)" - // GetCreationCmd()->Clear(); - // GetCreationCmd()->GetString() = theCommand->GetString(); - // theCommand->Clear(); - // theCommand->AddDependantCmd( GetCreationCmd() ); - // why swap? GetCreationCmd()->Clear(); + GetCreationCmd()->GetString() = theCommand->GetString(); + theCommand->Clear(); + theCommand->AddDependantCmd( GetCreationCmd() ); + // why swap? + //GetCreationCmd()->Clear(); } else if ( theCommand->GetMethod() == "SetMesh" ) { -- 2.39.2