mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 08:40:36 +05:00
0021014: EDF 1583 SMESH: Improvement of the Python Dumpfor the creation of groups
In FunctorTypeToString(), return "FT_Undefined" for an invalid input
This commit is contained in:
parent
974453b6c1
commit
6263d10065
@ -3792,7 +3792,7 @@ static const char** getFunctNames()
|
|||||||
const char* SMESH::FunctorTypeToString(SMESH::FunctorType ft)
|
const char* SMESH::FunctorTypeToString(SMESH::FunctorType ft)
|
||||||
{
|
{
|
||||||
if ( ft < 0 || ft > SMESH::FT_Undefined )
|
if ( ft < 0 || ft > SMESH::FT_Undefined )
|
||||||
return 0;
|
return "FT_Undefined";
|
||||||
return getFunctNames()[ ft ];
|
return getFunctNames()[ ft ];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user