]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug IPAL18306 V4_1_0 V4_1_0rc4
authorapo <apo@opencascade.com>
Thu, 13 Dec 2007 08:36:32 +0000 (08:36 +0000)
committerapo <apo@opencascade.com>
Thu, 13 Dec 2007 08:36:32 +0000 (08:36 +0000)
   4.x: "ApplyProperties()" raises "omniORB.CORBA.COMM_FAILURE".

src/VISU_I/VISU_ColoredPrs3d_i.cc

index 664b8162b01653d353bcaae53a2902edd2b08f2d..4eb39df853d81342acc2a73510ee99b4ad4e7ffe 100644 (file)
@@ -518,7 +518,9 @@ VISU::ColoredPrs3d_i
 ::SetMinMaxController( VISU::ColoredPrs3d_i* theOrigin )
 {
   VISU::PMinMaxController aController = theOrigin->GetMinMaxController();
-  aController->UpdateReference( theOrigin, this );
+
+  if ( aController )
+    aController->UpdateReference( theOrigin, this );
   
   SetMinMaxController( aController );
 }