Fix for bug IPAL11865 : It is impossible to dump Supervisor study at the second time.

This commit is contained in:
mkr 2006-03-20 13:52:09 +00:00
parent 97f4b51b6a
commit a4dbca8276

View File

@ -474,7 +474,7 @@ TCollection_AsciiString GEOM_Engine::DumpPython(int theDocID,
} }
//Add final part of the script //Add final part of the script
if(aSeq->Value(aLen) < aScriptLength) anUpdatedScript += aScript.SubString(aSeq->Value(aLen)+1, aScriptLength); if(aLen && aSeq->Value(aLen) < aScriptLength) anUpdatedScript += aScript.SubString(aSeq->Value(aLen)+1, aScriptLength); // mkr : IPAL11865
// Make script to publish in study // Make script to publish in study
if ( isPublished ) if ( isPublished )