From 62a9a49af6c1611d3a1c2f788b0aafbc18e2b649 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Mon, 25 Sep 2006 13:35:27 +0000 Subject: [PATCH] Correction for problem: Command "dump study" doesn't work at first time at load Post-Pro module. --- src/VISU_I/VISU_DumpPython.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/VISU_I/VISU_DumpPython.cc b/src/VISU_I/VISU_DumpPython.cc index a2e810a8..a5378c0a 100644 --- a/src/VISU_I/VISU_DumpPython.cc +++ b/src/VISU_I/VISU_DumpPython.cc @@ -1293,6 +1293,8 @@ namespace VISU CORBA::Boolean theIsPublished, CORBA::Boolean& theIsValidScript) { + theIsValidScript = false; + SALOMEDS::Study_var aStudy = SALOMEDS::Study::_narrow(theStudy); if(CORBA::is_nil(aStudy)) return new Engines::TMPFile(0); @@ -1337,6 +1339,10 @@ namespace VISU } aStr<