From: akl Date: Tue, 24 Jun 2014 08:21:35 +0000 (+0400) Subject: Rollback references removing. X-Git-Tag: V7_5_0a1~50^2~2^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=91ea3e3f9b4c22fe7484e44dfd310a37cd713e58;p=modules%2Fgeom.git Rollback references removing. --- diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_ReduceStudyDlg.cxx b/src/GEOMToolsGUI/GEOMToolsGUI_ReduceStudyDlg.cxx index 4bd464a78..4c4a39e9e 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI_ReduceStudyDlg.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI_ReduceStudyDlg.cxx @@ -440,8 +440,6 @@ void GEOMToolsGUI_ReduceStudyDlg::removeObject( std::string& theStudyEntry ) if ( obj ) { // remove visual properties of the object appStudy->removeObjectFromAll(obj->GetID().c_str()); - // remove references to this object - appStudy->deleteReferencesTo( obj ); // remove objects from study aStudyBuilder->RemoveObjectWithChildren( obj ); // remove object from use case tree