]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Rollback references removing.
authorakl <alexander.kovalev@opencascade.com>
Tue, 24 Jun 2014 08:21:35 +0000 (12:21 +0400)
committerakl <alexander.kovalev@opencascade.com>
Tue, 24 Jun 2014 08:21:35 +0000 (12:21 +0400)
src/GEOMToolsGUI/GEOMToolsGUI_ReduceStudyDlg.cxx

index 4bd464a78dac41e4e8b2d45def5de9a2eb6f7d0f..4c4a39e9ee4b8a913591c610f26b29055104c743 100644 (file)
@@ -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