]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix bug 16037: IOLS. Fatal error on playing two presentations with different time...
authorjfa <jfa@opencascade.com>
Tue, 22 May 2007 11:38:59 +0000 (11:38 +0000)
committerjfa <jfa@opencascade.com>
Tue, 22 May 2007 11:38:59 +0000 (11:38 +0000)
src/VISU_I/VISU_ColoredPrs3dCache_i.cc

index 7a5954ec793ec0bb3df280c941f5a87c6e09c3bb..d68bebc1a2501196cd7452209ea1e7e1785d0c97 100644 (file)
@@ -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);