mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0021491: EDF 2094 SMESH: Error in the filters dump with "belong to GEOM " criterion
fix threshold setting
This commit is contained in:
parent
2b3a86e7ca
commit
0dad6db093
@ -544,7 +544,9 @@ Handle(_pyCommand) _pyGen::AddCommand( const TCollection_AsciiString& theCommand
|
|||||||
if ( -1 < iGeom && iGeom < SMESH::Geom_POLYHEDRA+1 )
|
if ( -1 < iGeom && iGeom < SMESH::Geom_POLYHEDRA+1 )
|
||||||
Threshold = SMESH + types[ iGeom ];
|
Threshold = SMESH + types[ iGeom ];
|
||||||
}
|
}
|
||||||
if ( ThresholdStr.Length() != 2 ) // not '' or ""
|
if ( ThresholdID.Length() != 2 && ThresholdStr.Length() != 2) // not '' or ""
|
||||||
|
aCommand->SetArg( 4, ThresholdID.SubString( 2, ThresholdID.Length()-1 )); // shape entry
|
||||||
|
else if ( ThresholdStr.Length() != 2 )
|
||||||
aCommand->SetArg( 4, ThresholdStr );
|
aCommand->SetArg( 4, ThresholdStr );
|
||||||
else if ( ThresholdID.Length() != 2 )
|
else if ( ThresholdID.Length() != 2 )
|
||||||
aCommand->SetArg( 4, ThresholdID );
|
aCommand->SetArg( 4, ThresholdID );
|
||||||
|
Loading…
Reference in New Issue
Block a user