From b019761734fb2d0ed476eb0994e7467ca960390e Mon Sep 17 00:00:00 2001 From: apo Date: Tue, 15 May 2007 10:35:33 +0000 Subject: [PATCH] Fix for Bug IPAL15154 - IOLS. Crash on Animation, Play. Shape TimeStamps.med, Setup vitesse/Vectors, Pression/Iso Surface. --- src/VISU_I/VISU_Prs3d_i.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/VISU_I/VISU_Prs3d_i.cc b/src/VISU_I/VISU_Prs3d_i.cc index e9af3d5d..edf46594 100644 --- a/src/VISU_I/VISU_Prs3d_i.cc +++ b/src/VISU_I/VISU_Prs3d_i.cc @@ -135,7 +135,8 @@ VISU::Prs3d_i { try{ if(SetInput(theReInit)){ - UpdateActors(); + if(myActorCollection->GetNumberOfItems()) + UpdateActors(); return true; } }catch(std::exception& exc){ @@ -351,7 +352,7 @@ VISU::Prs3d_i try{ GetPipeLine()->Update(); myUpdateTime.Modified(); - } catch(std::exception&){ + }catch(std::exception&){ throw; }catch(...){ throw std::runtime_error("Prs3d_i::Update >> unexpected exception was caught!!!"); -- 2.39.2