mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-28 03:30:33 +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
@ -142,6 +142,7 @@ Engines::TMPFile* GEOM_Gen_i::DumpPython(CORBA::Object_ptr theStudy,
|
||||
for( ;it != objectDataVec.end(); it++ ) {
|
||||
|
||||
//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