mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-04 01:20:33 +05:00
Rollback references removing.
This commit is contained in:
parent
33c22cca77
commit
91ea3e3f9b
@ -440,8 +440,6 @@ void GEOMToolsGUI_ReduceStudyDlg::removeObject( std::string& theStudyEntry )
|
|||||||
if ( obj ) {
|
if ( obj ) {
|
||||||
// remove visual properties of the object
|
// remove visual properties of the object
|
||||||
appStudy->removeObjectFromAll(obj->GetID().c_str());
|
appStudy->removeObjectFromAll(obj->GetID().c_str());
|
||||||
// remove references to this object
|
|
||||||
appStudy->deleteReferencesTo( obj );
|
|
||||||
// remove objects from study
|
// remove objects from study
|
||||||
aStudyBuilder->RemoveObjectWithChildren( obj );
|
aStudyBuilder->RemoveObjectWithChildren( obj );
|
||||||
// remove object from use case tree
|
// remove object from use case tree
|
||||||
|
Loading…
Reference in New Issue
Block a user