From 91ea3e3f9b4c22fe7484e44dfd310a37cd713e58 Mon Sep 17 00:00:00 2001 From: akl Date: Tue, 24 Jun 2014 12:21:35 +0400 Subject: [PATCH] Rollback references removing. --- src/GEOMToolsGUI/GEOMToolsGUI_ReduceStudyDlg.cxx | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.39.2