From 583c8a77688080bdc4fd00ed824db69fc29f78ef Mon Sep 17 00:00:00 2001 From: jfa Date: Fri, 25 May 2007 10:07:59 +0000 Subject: [PATCH] Fixing bug 16061: IOLS. Attribute error on load script, dumped from attached study. Fix a bug, leading to creation of invalid study. --- src/VISU_I/VISU_ColoredPrs3d_i.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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"<