mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 09:20:34 +05:00
0022318: [CEA] Problems with study dump in SMESH
Restore Swap "aFilterManager.CreateFilter()" and "smesh.GetFilterFromCriteria(criteria)"
This commit is contained in:
parent
fab1d896c8
commit
d217545eec
@ -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" )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user