From 852d859e6db80ca66bcb6018cf8c85e7a57d76c1 Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 27 Oct 2006 14:19:44 +0000 Subject: [PATCH] To initialize VISU_PrsObject_i::myStudy when SetResultObject is called --- src/VISU_I/VISU_Prs3d_i.cc | 1 + src/VISU_I/VISU_ScalarMap_i.cc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/VISU_I/VISU_Prs3d_i.cc b/src/VISU_I/VISU_Prs3d_i.cc index a74b9531..9a97c36b 100644 --- a/src/VISU_I/VISU_Prs3d_i.cc +++ b/src/VISU_I/VISU_Prs3d_i.cc @@ -137,6 +137,7 @@ VISU::Prs3d_i myResult->Destroy(); if(aResult) aResult->Register(); + SetStudyDocument(aResult->GetStudyDocument()); myResult = aResult; } } diff --git a/src/VISU_I/VISU_ScalarMap_i.cc b/src/VISU_I/VISU_ScalarMap_i.cc index c55e9d01..8f8cc517 100644 --- a/src/VISU_I/VISU_ScalarMap_i.cc +++ b/src/VISU_I/VISU_ScalarMap_i.cc @@ -156,9 +156,9 @@ VISU::ScalarMap_i ::Create(const char* theMeshName, VISU::Entity theEntity, const char* theFieldName, - int theIteration) + int theTimeStampNumber) { - TSuperClass::Create(theMeshName,theEntity,theFieldName,theIteration); + TSuperClass::Create(theMeshName,theEntity,theFieldName,theTimeStampNumber); SUIT_ResourceMgr* aResourceMgr = VISU::GetResourceMgr(); -- 2.39.2