From: jfa Date: Fri, 25 May 2007 10:07:59 +0000 (+0000) Subject: Fixing bug 16061: IOLS. Attribute error on load script, dumped from attached study... X-Git-Tag: V4_0~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=583c8a77688080bdc4fd00ed824db69fc29f78ef;p=modules%2Fvisu.git Fixing bug 16061: IOLS. Attribute error on load script, dumped from attached study. Fix a bug, leading to creation of invalid study. --- diff --git a/src/VISU_I/VISU_ColoredPrs3d_i.cc b/src/VISU_I/VISU_ColoredPrs3d_i.cc index 74dada41..351952dc 100644 --- a/src/VISU_I/VISU_ColoredPrs3d_i.cc +++ b/src/VISU_I/VISU_ColoredPrs3d_i.cc @@ -152,21 +152,22 @@ bool VISU::ColoredPrs3d_i ::OnSetInput(bool theReInit) { - myPreviousEntity = myEntity; - myPreviousFieldName = myFieldName; - myPreviousTimeStampNumber = myTimeStampNumber; - bool anIsCreatNew = !IsPipeLineExists(); if(anIsCreatNew) CreatePipeLine(NULL); // to create proper pipeline try{ DoSetInput(anIsCreatNew, theReInit); + myPreviousEntity = myEntity; + myPreviousFieldName = myFieldName; + myPreviousTimeStampNumber = myTimeStampNumber; }catch(std::exception& exc){ INFOS("Follow exception was occured :\n"<