From: vsr Date: Wed, 14 Oct 2009 16:38:02 +0000 (+0000) Subject: Remove un-necessary code X-Git-Tag: V5_1_main_20091019~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8e4e28869bae9db9085e45c9818ed36688c88b18;p=modules%2Fvisu.git Remove un-necessary code --- diff --git a/src/VISU_I/VISU_Prs3d_i.cc b/src/VISU_I/VISU_Prs3d_i.cc index 620cf98d..4df6da91 100644 --- a/src/VISU_I/VISU_Prs3d_i.cc +++ b/src/VISU_I/VISU_Prs3d_i.cc @@ -100,10 +100,6 @@ VISU::Prs3d_i::~Prs3d_i() { if(MYDEBUG) MESSAGE("Prs3d_i::~Prs3d_i - this = "<Destroy(); } @@ -164,10 +160,6 @@ VISU::Prs3d_i if(theResult) { SetStudyDocument(theResult->GetStudyDocument()); - theResult->Register(); - } - if(myResult) { - myResult->Destroy(); } VISU::TSetModified aModified(this);