mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-24 22:32:03 +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++ ) {
|
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 tail( (*it)._studyEntry.ToCString(), 6, (*it)._studyEntry.Length()-1 );
|
||||||
std::string newEntry(ComponentDataType());
|
std::string newEntry(ComponentDataType());
|
||||||
newEntry+=("_"+tail);
|
newEntry+=("_"+tail);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user