From 0c2c913cc36cef49be04d8c83191e308f2f258bf Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 18 Dec 2006 13:22:05 +0000 Subject: [PATCH] To implement more accurate VISU_PipeLine::ShallowCopy method --- src/VISUGUI/VisuGUI_Plot3DDlg.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/VISUGUI/VisuGUI_Plot3DDlg.cxx b/src/VISUGUI/VisuGUI_Plot3DDlg.cxx index c6a47d3d..afc92def 100644 --- a/src/VISUGUI/VisuGUI_Plot3DDlg.cxx +++ b/src/VISUGUI/VisuGUI_Plot3DDlg.cxx @@ -267,8 +267,7 @@ void VisuGUI_Plot3DPane::storePrsParams() if (!myPipeCopy) myPipeCopy = VISU_Plot3DPL::New(); if (myPrs) { - myPipeCopy->SetIDMapper(myPrs->GetPipeLine()->GetIDMapper()); - myPipeCopy->ShallowCopy(myPrs->GetPipeLine()); + myPipeCopy->ShallowCopy(myPrs->GetPipeLine(), true); storeToPrsObject(myPrs); } } @@ -282,7 +281,7 @@ void VisuGUI_Plot3DPane::restorePrsParams() if (!myPipeCopy) myPipeCopy = VISU_Plot3DPL::New(); if (myPrs) - myPrs->GetPipeLine()->ShallowCopy(myPipeCopy); + myPrs->GetPipeLine()->ShallowCopy(myPipeCopy, false); } //======================================================================= -- 2.39.2