From 7bea25eed4381533a09a27a65747efa58410ea5d Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 13 Dec 2007 08:36:32 +0000 Subject: [PATCH] Fix for Bug IPAL18306 4.x: "ApplyProperties()" raises "omniORB.CORBA.COMM_FAILURE". --- src/VISU_I/VISU_ColoredPrs3d_i.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/VISU_I/VISU_ColoredPrs3d_i.cc b/src/VISU_I/VISU_ColoredPrs3d_i.cc index 664b8162..4eb39df8 100644 --- a/src/VISU_I/VISU_ColoredPrs3d_i.cc +++ b/src/VISU_I/VISU_ColoredPrs3d_i.cc @@ -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 ); } -- 2.39.2