Swap "aFilterManager.CreateFilter()" and "smesh.GetFilterFromCriteria(criteria)"
This commit is contained in:
eap 2013-09-20 15:10:03 +00:00
parent f5aab06a2b
commit 6920cb0594

View File

@ -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" )
{