]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To initialize VISU_PrsObject_i::myStudy when SetResultObject is called
authorapo <apo@opencascade.com>
Fri, 27 Oct 2006 14:19:44 +0000 (14:19 +0000)
committerapo <apo@opencascade.com>
Fri, 27 Oct 2006 14:19:44 +0000 (14:19 +0000)
src/VISU_I/VISU_Prs3d_i.cc
src/VISU_I/VISU_ScalarMap_i.cc

index a74b9531927a8483a055c0761c96109ecbd8110d..9a97c36b2334061e6b689e3d9336e9df9a5a3d8b 100644 (file)
@@ -137,6 +137,7 @@ VISU::Prs3d_i
       myResult->Destroy();
     if(aResult)
       aResult->Register();
+    SetStudyDocument(aResult->GetStudyDocument());
     myResult = aResult;
   }
 }
index c55e9d01edb716df96bd7f780f2436b12d65bd18..8f8cc517d14083bcb902f69d32586c1918a9b084 100644 (file)
@@ -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();