mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-06 15:04:18 +05:00
0014047: EDF PAL 334 : Problem to select merged face with Create group window
fix compilation on some platforms
This commit is contained in:
parent
8036376bd6
commit
87435661cb
@ -37,6 +37,7 @@
|
|||||||
#include <GEOMBase.h>
|
#include <GEOMBase.h>
|
||||||
#include <GeometryGUI.h>
|
#include <GeometryGUI.h>
|
||||||
#include <GEOMImpl_Types.hxx>
|
#include <GEOMImpl_Types.hxx>
|
||||||
|
#include <GEOM_Displayer.h>
|
||||||
|
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QListWidget>
|
#include <QListWidget>
|
||||||
@ -403,8 +404,10 @@ void GroupGUI_GroupDlg::setInPlaceObj( GEOM::GEOM_Object_var theObj )
|
|||||||
const char* tmpName = "__InPlaceObj__";
|
const char* tmpName = "__InPlaceObj__";
|
||||||
// remove old InPlaceObj
|
// remove old InPlaceObj
|
||||||
if ( !myInPlaceObj->_is_nil() ) {
|
if ( !myInPlaceObj->_is_nil() ) {
|
||||||
if ( myInPlaceObjSelectWay == GET_IN_PLACE ) // hide temporary object
|
if ( myInPlaceObjSelectWay == GET_IN_PLACE ) { // hide temporary object
|
||||||
GEOM_Displayer(getStudy()).Erase( myInPlaceObj, true );
|
GEOM_Displayer aDisplayer(getStudy());
|
||||||
|
aDisplayer.Erase( myInPlaceObj, true );
|
||||||
|
}
|
||||||
if (_PTR(SObject) SO = getStudy()->studyDS()->FindObject( tmpName )) {
|
if (_PTR(SObject) SO = getStudy()->studyDS()->FindObject( tmpName )) {
|
||||||
getStudy()->studyDS()->NewBuilder()->RemoveObjectWithChildren( SO );
|
getStudy()->studyDS()->NewBuilder()->RemoveObjectWithChildren( SO );
|
||||||
getGeomEngine()->RemoveObject(myInPlaceObj);
|
getGeomEngine()->RemoveObject(myInPlaceObj);
|
||||||
|
Loading…
Reference in New Issue
Block a user