Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid crash at "import smesh_selection" in terminal mode
[modules/smesh.git]
/
src
/
SMESH_I
/
SMESH_PreMeshInfo.cxx
diff --git
a/src/SMESH_I/SMESH_PreMeshInfo.cxx
b/src/SMESH_I/SMESH_PreMeshInfo.cxx
index 886f4a6d1cfa34de335b7b94ead6c435fc20d77b..989de27e6cb69b2d448f6111801c6b570addde79 100644
(file)
--- a/
src/SMESH_I/SMESH_PreMeshInfo.cxx
+++ b/
src/SMESH_I/SMESH_PreMeshInfo.cxx
@@
-61,7
+61,7
@@
using namespace std;
namespace
{
namespace
{
- enum { GroupOnFilter_OutOfDate = -
1
};
+ enum { GroupOnFilter_OutOfDate = -
777
};
// count not yet loaded meshes
static int theMeshCounter = 0;
// count not yet loaded meshes
static int theMeshCounter = 0;
@@
-254,7
+254,7
@@
namespace
std::vector<int> data;
for ( size_t i = 0; i < meshInfo->length(); ++i )
std::vector<int> data;
for ( size_t i = 0; i < meshInfo->length(); ++i )
- if ( meshInfo[i] > 0 )
+ if ( meshInfo[i] > 0
|| meshInfo[i] == GroupOnFilter_OutOfDate
)
{
data.push_back( DriverMED::GetMedGeoType( SMDSAbs_EntityType( i ))); //medTypes[ i ] );
data.push_back( meshInfo[ i ] );
{
data.push_back( DriverMED::GetMedGeoType( SMDSAbs_EntityType( i ))); //medTypes[ i ] );
data.push_back( meshInfo[ i ] );