From b31b5fe8c71d16b9311d77bcf67faaad15a24c7a Mon Sep 17 00:00:00 2001 From: maintenance team Date: Wed, 27 Sep 2006 11:21:40 +0000 Subject: [PATCH] Correction for problem: Command "dump stydy" doesn't work at first time at load Post-Pro module. --- src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx index 63b5c2c3a..f6c2fa1f6 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx @@ -1361,7 +1361,7 @@ bool SALOMEDSImpl_Study::DumpStudy(const TCollection_AsciiString& thePath, if(aDriver == NULL) continue; - bool isValidScript; + bool isValidScript = false; long aStreamLength = 0; Handle(SALOMEDSImpl_TMPFile) aStream = aDriver->DumpPython(this, isPublished, isValidScript, aStreamLength); if ( !isValidScript ) -- 2.39.2