mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 10:10:34 +05:00
Exception in python dump of SMESH_TEST/Grids/smesh/bugs/M2
+ if ( (*it)._studyEntry.Length() < 7 ) continue; std::string tail( (*it)._studyEntry.ToCString(), 6, (*it)._studyEntry.Length()-1 );
This commit is contained in:
parent
5652cf8774
commit
840b3bffc5
@ -141,7 +141,8 @@ Engines::TMPFile* GEOM_Gen_i::DumpPython(CORBA::Object_ptr theStudy,
|
||||
std::vector<TObjectData>::iterator it = objectDataVec.begin();
|
||||
for( ;it != objectDataVec.end(); it++ ) {
|
||||
|
||||
//1. Encode entry
|
||||
//1. Encode entry
|
||||
if ( (*it)._studyEntry.Length() < 7 ) continue;
|
||||
std::string tail( (*it)._studyEntry.ToCString(), 6, (*it)._studyEntry.Length()-1 );
|
||||
std::string newEntry(ComponentDataType());
|
||||
newEntry+=("_"+tail);
|
||||
|
Loading…
Reference in New Issue
Block a user