mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-03-01 01:55:37 +05:00
Bug IPAL22905: TC650: Projection on face dialog problems
This commit is contained in:
parent
94e357bc36
commit
6795bf2428
@ -134,7 +134,7 @@ Standard_Integer GEOMImpl_ProjectionDriver::Execute(TFunction_Logbook& log) cons
|
||||
proj.Perform(aPnt);
|
||||
if (!proj.IsDone()) {
|
||||
Standard_ConstructionError::Raise
|
||||
("Projection aborted : GeomAPI_ProjectPointOnSurf failed");
|
||||
("Projection aborted : the algorithm failed");
|
||||
}
|
||||
int nbPoints = proj.NbPoints();
|
||||
if (nbPoints < 1) {
|
||||
|
@ -29,12 +29,15 @@
|
||||
#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 <TColStd_MapOfInteger.hxx>
|
||||
|
||||
//=================================================================================
|
||||
// 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);
|
||||
|
||||
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);
|
||||
|
||||
globalSelection( GEOM_FACE );
|
||||
}
|
||||
|
||||
// enable line edit
|
||||
|
Loading…
Reference in New Issue
Block a user