From: eap Date: Fri, 20 Sep 2013 15:10:03 +0000 (+0000) Subject: Restore X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6920cb0594f18485730b1071538c95d92bcecfe3;p=modules%2Fsmesh.git Restore Swap "aFilterManager.CreateFilter()" and "smesh.GetFilterFromCriteria(criteria)" --- 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" ) {