From: maintenance team Date: Mon, 25 Sep 2006 13:35:27 +0000 (+0000) Subject: Correction for problem: Command "dump study" doesn't work at first time at load Post... X-Git-Tag: V3_2_3pre1~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=62a9a49af6c1611d3a1c2f788b0aafbc18e2b649;p=modules%2Fvisu.git Correction for problem: Command "dump study" doesn't work at first time at load Post-Pro module. --- 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<