0022318: [CEA] Problems with study dump in SMESH

Restore
  Swap "aFilterManager.CreateFilter()" and "smesh.GetFilterFromCriteria(criteria)"
This commit is contained in:
eap 2013-09-20 15:34:52 +00:00
parent fab1d896c8
commit d217545eec

View File

@ -4641,12 +4641,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? -- it's needed
//GetCreationCmd()->Clear();
}
else if ( theCommand->GetMethod() == "SetMesh" )
{