Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test case bugs/N4. A fix by PKV.
[modules/geom.git]
/
src
/
TransformationGUI
/
TransformationGUI_ProjectionDlg.cxx
diff --git
a/src/TransformationGUI/TransformationGUI_ProjectionDlg.cxx
b/src/TransformationGUI/TransformationGUI_ProjectionDlg.cxx
index bfb230dff5a28e43024f0b746c7fb86196c41d27..48edd3efa1e3ee20a813ae43c75c799e0c00945c 100644
(file)
--- a/
src/TransformationGUI/TransformationGUI_ProjectionDlg.cxx
+++ b/
src/TransformationGUI/TransformationGUI_ProjectionDlg.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
1
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
2
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-29,12
+29,15
@@
#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
#include <DlgRef.h>
#include <GeometryGUI.h>
#include <GEOMBase.h>
+#include <GEOMImpl_Types.hxx>
#include <SUIT_Session.h>
#include <SUIT_ResourceMgr.h>
#include <SalomeApp_Application.h>
#include <LightApp_SelectionMgr.h>
#include <SUIT_Session.h>
#include <SUIT_ResourceMgr.h>
#include <SalomeApp_Application.h>
#include <LightApp_SelectionMgr.h>
+#include <TColStd_MapOfInteger.hxx>
+
//=================================================================================
// class : TransformationGUI_ProjectionDlg()
// purpose : Constructs a TransformationGUI_ProjectionDlg which is a child of 'parent', with the
//=================================================================================
// class : TransformationGUI_ProjectionDlg()
// purpose : Constructs a TransformationGUI_ProjectionDlg which is a child of 'parent', with the
@@
-205,12
+208,20
@@
void TransformationGUI_ProjectionDlg::SetEditCurrentArgument()
myGroup->PushButton2->setDown(false);
myGroup->LineEdit2->setEnabled(false);
myGroup->PushButton2->setDown(false);
myGroup->LineEdit2->setEnabled(false);
+
+ TColStd_MapOfInteger aMap;
+ aMap.Add( GEOM_POINT );
+ aMap.Add( GEOM_EDGE );
+ aMap.Add( GEOM_WIRE );
+ globalSelection( aMap );
}
else if (send == myGroup->PushButton2) {
myEditCurrentArgument = myGroup->LineEdit2;
myGroup->PushButton1->setDown(false);
myGroup->LineEdit1->setEnabled(false);
}
else if (send == myGroup->PushButton2) {
myEditCurrentArgument = myGroup->LineEdit2;
myGroup->PushButton1->setDown(false);
myGroup->LineEdit1->setEnabled(false);
+
+ globalSelection( GEOM_FACE );
}
// enable line edit
}
// enable line edit