mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 10:08:35 +05:00
Fix pb with point on edges intersection.
This commit is contained in:
parent
0f8fc7e029
commit
1a69b23185
@ -22,7 +22,7 @@
|
||||
// GEOM GEOMGUI : GUI for Geometry component
|
||||
// File : BasicGUI_PointDlg.cxx
|
||||
// Author : Lucien PIGNOLONI, Open CASCADE S.A.S.
|
||||
//
|
||||
|
||||
#include "BasicGUI_PointDlg.h"
|
||||
|
||||
#include <SUIT_ResourceMgr.h>
|
||||
@ -248,7 +248,6 @@ void BasicGUI_PointDlg::Init()
|
||||
|
||||
connect( this, SIGNAL( constructorsClicked( int ) ), this, SLOT( ConstructorsClicked( int ) ) );
|
||||
|
||||
|
||||
connect( myParamCoord->button( PARAM_VALUE ), SIGNAL( clicked() ), this, SLOT( ClickParamCoord() ) );
|
||||
connect( myParamCoord->button( COORD_VALUE ), SIGNAL( clicked() ), this, SLOT( ClickParamCoord() ) );
|
||||
connect( GroupOnCurve->PushButton1, SIGNAL( clicked() ), this, SLOT( SetEditCurrentArgument() ) );
|
||||
@ -277,7 +276,6 @@ void BasicGUI_PointDlg::Init()
|
||||
connect( myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged() ),
|
||||
this, SLOT(SelectionIntoArgument() ) );
|
||||
|
||||
|
||||
initName( tr( "GEOM_VERTEX" ) );
|
||||
|
||||
ConstructorsClicked( 0 );
|
||||
@ -775,7 +773,6 @@ bool BasicGUI_PointDlg::isValid( QString& msg )
|
||||
ok = GroupXYZ->SpinBox_DZ->isValid( msg, !IsPreview() ) && ok;
|
||||
}
|
||||
return !myFace->_is_nil() && ok;
|
||||
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@ -842,7 +839,7 @@ bool BasicGUI_PointDlg::execute( ObjectList& objects )
|
||||
break;
|
||||
}
|
||||
case GEOM_POINT_INTINT :
|
||||
anOper->MakePointOnLinesIntersection( myLine1, myLine2 );
|
||||
anObj = anOper->MakePointOnLinesIntersection( myLine1, myLine2 );
|
||||
res = true;
|
||||
break;
|
||||
case GEOM_POINT_SURF :
|
||||
@ -875,7 +872,6 @@ bool BasicGUI_PointDlg::execute( ObjectList& objects )
|
||||
anObj->SetParameters(aParameters.join(":").toLatin1().constData());
|
||||
}
|
||||
|
||||
|
||||
if ( id == GEOM_POINT_REF || id == GEOM_POINT_EDGE || id == GEOM_POINT_SURF ) {
|
||||
TopoDS_Shape aShape;
|
||||
if ( GEOMBase::GetShape( anObj, aShape ) && !aShape.IsNull() &&
|
||||
|
Loading…
Reference in New Issue
Block a user