From: jfa Date: Tue, 22 May 2007 11:38:59 +0000 (+0000) Subject: Fix bug 16037: IOLS. Fatal error on playing two presentations with different time... X-Git-Tag: V4_0~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=37aa1e84461c9188ce98b5b608db775faa6e2a83;p=modules%2Fvisu.git Fix bug 16037: IOLS. Fatal error on playing two presentations with different time stamps. --- diff --git a/src/VISU_I/VISU_ColoredPrs3dCache_i.cc b/src/VISU_I/VISU_ColoredPrs3dCache_i.cc index 7a5954ec..d68bebc1 100644 --- a/src/VISU_I/VISU_ColoredPrs3dCache_i.cc +++ b/src/VISU_I/VISU_ColoredPrs3dCache_i.cc @@ -647,7 +647,11 @@ VISU::ColoredPrs3dCache_i } //if(MYDEBUG) PrintCache(); - aPrs3d->SameAs(thePrs); + try { + aPrs3d->SameAs(thePrs); + } catch (...) { + return false; + } aPrs3d->UpdateActors(); if(!CORBA::is_nil(theView3D)){ PortableServer::ServantBase_var aServant = GetServant(theView3D);