]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To avoid implicit call of SetIdMapper in ShallowCopy functionality of VISU_PipeLine
authorapo <apo@opencascade.com>
Tue, 6 Dec 2005 13:33:51 +0000 (13:33 +0000)
committerapo <apo@opencascade.com>
Tue, 6 Dec 2005 13:33:51 +0000 (13:33 +0000)
src/OBJECT/VISU_GaussPtsAct.cxx
src/VISUGUI/VisuGUI_Plot3DDlg.cxx
src/VISU_I/VISU_GaussPoints_i.cc
src/VISU_I/VISU_Vectors_i.cc

index c0c1e5c898df6a8f8d765af1352ec7f9cdea3582..8ad1af37935df1bab1dc1f1d03ba04a8e7cf04c3 100644 (file)
@@ -340,6 +340,7 @@ namespace
   CreatePipeLine(VISU_GaussPointsPL* thePipeLine)
   {
     VISU_GaussPointsPL* aPipeLine = VISU_GaussPointsPL::New();
+    aPipeLine->SetGaussPtsIDMapper(thePipeLine->GetGaussPtsIDMapper());
     aPipeLine->ShallowCopy(thePipeLine);
     aPipeLine->Update();
     return aPipeLine;
index 78cbcec2aa5c7dc520dcb2237d571878d869bf47..31024349f93ffc3248720fe0bf2435169b634dd4 100644 (file)
@@ -254,6 +254,7 @@ void VisuGUI_Plot3DPane::storePrsParams()
   if (!myPipeCopy)
     myPipeCopy = VISU_Plot3DPL::New();
   if (myPrs) {
+    myPipeCopy->SetIDMapper(myPrs->GetIDMapper());
     myPipeCopy->ShallowCopy(myPrs->GetPL());
     storeToPrsObject(myPrs);
   }
index 96b027261f58ea1847b46abe146e47f112d21ba2..64a3eed93ecd39b86f44bfdbf3bc558fdcfcd387 100644 (file)
@@ -545,6 +545,7 @@ VISU::GaussPoints_i
   // We create a new PipeLine instance in order to provide
   //   different representations for different actors (basic and segmented)
   VISU_GaussPointsPL* aPipeLine = VISU_GaussPointsPL::New();
+  aPipeLine->SetGaussPtsIDMapper(myGaussPointsPL->GetGaussPtsIDMapper());
   aPipeLine->ShallowCopy(myPipeLine);
   aPipeLine->Update();
   return aPipeLine;
index 26218a0b375624fd5e528e47f3c327c0b76afc4d..78c8e393a07c271dfb033a69a54fe26e3b65d88a 100644 (file)
@@ -172,6 +172,7 @@ void VISU::Vectors_i::DoHook(){
 
 VISU_PipeLine* VISU::Vectors_i::GetPipeLine(){
   VISU_PipeLine* aPipeLine = VISU_VectorsPL::New();
+  aPipeLine->SetIDMapper(myPipeLine->GetIDMapper());
   aPipeLine->ShallowCopy(myPipeLine);
   aPipeLine->Update();
   return aPipeLine;