From 7c2dd1bc481fbaa459ef9c52d3dfd4f2ad157a6c Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 23 May 2005 04:44:47 +0000 Subject: [PATCH] Fix on - Bug IPAL8815 T1.5: Presentation translation not work after save and restore study --- src/VISU_I/VISU_Prs3d_i.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/VISU_I/VISU_Prs3d_i.cc b/src/VISU_I/VISU_Prs3d_i.cc index 45c01285..4f7cf0aa 100644 --- a/src/VISU_I/VISU_Prs3d_i.cc +++ b/src/VISU_I/VISU_Prs3d_i.cc @@ -138,6 +138,11 @@ vtkUnstructuredGrid* VISU::Prs3d_i::GetInput(){ SALOMEDS::SObject_var VISU::Prs3d_i::GetSObject(){ + if(CORBA::is_nil(mySObject.in())){ + const SALOMEDS::Study_var& aStudy = myResult->GetStudyDocument(); + CORBA::String_var anIOR = GetID(); + mySObject = aStudy->FindObjectIOR(anIOR); + } return mySObject; } -- 2.39.2