mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-27 07:05:37 +05:00
Mantis issue 0020812: EDF 1356 GEOM: Deleted objects still appear in the dump.
This commit is contained in:
parent
eea6c0633d
commit
2e84c26b17
@ -19,10 +19,10 @@
|
||||
//
|
||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||
//
|
||||
// GEOM GEOMGUI : GUI for Geometry component
|
||||
// File : GEOMBase_Helper.cxx
|
||||
// Author : Sergey ANIKIN, Open CASCADE S.A.S. (sergey.anikin@opencascade.com)
|
||||
//
|
||||
// GEOM GEOMGUI : GUI for Geometry component
|
||||
// File : GEOMBase_Helper.cxx
|
||||
// Author : Sergey ANIKIN, Open CASCADE S.A.S. (sergey.anikin@opencascade.com)
|
||||
|
||||
#include "GEOMBase_Helper.h"
|
||||
#include "GEOMBase.h"
|
||||
#include "GEOM_Operation.h"
|
||||
@ -54,7 +54,7 @@
|
||||
|
||||
//To disable automatic genericobj management, the following line should be commented.
|
||||
//Otherwise, it should be uncommented. Refer to KERNEL_SRC/src/SALOMEDSImpl/SALOMEDSImpl_AttributeIOR.cxx
|
||||
//#define WITHGENERICOBJ
|
||||
#define WITHGENERICOBJ
|
||||
|
||||
//================================================================
|
||||
// Function : getActiveView
|
||||
@ -859,7 +859,7 @@ bool GEOMBase_Helper::onAccept( const bool publish, const bool useTransaction )
|
||||
commitCommand();
|
||||
updateObjBrowser();
|
||||
SUIT_Session::session()->activeApplication()->putInfo( QObject::tr("GEOM_PRP_DONE") );
|
||||
result = true;
|
||||
result = true;
|
||||
}
|
||||
else
|
||||
abortCommand();
|
||||
@ -1116,5 +1116,3 @@ void GEOMBase_Helper::addSubshapesToFather( QMap<QString, GEOM::GEOM_Object_var>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user