mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
+ removing references to deleted objects.
This commit is contained in:
parent
91ea3e3f9b
commit
8702bf10d3
@ -440,6 +440,8 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user