mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
Bug IPAL19360 - Qt4 porting. Activation of functionality ?Modification/Mesh pass throught a point? leads to fatal error
This commit is contained in:
parent
02ed758822
commit
edbbbf562b
@ -303,8 +303,6 @@ void SMESHGUI_MakeNodeAtPointOp::startOperation()
|
||||
mySimulation->GetActor()->SetProperty(aProp);
|
||||
aProp->Delete();
|
||||
|
||||
SMESHGUI_SelectionOp::startOperation();
|
||||
|
||||
// SalomeApp_TypeFilter depends on a current study
|
||||
if ( myFilter ) delete myFilter;
|
||||
QList<SUIT_SelectionFilter*> filters;
|
||||
@ -314,7 +312,9 @@ void SMESHGUI_MakeNodeAtPointOp::startOperation()
|
||||
filters.append( new SMESH_NumberFilter("GEOM", TopAbs_VERTEX, 1, vertexType ));
|
||||
myFilter = new SMESH_LogicalFilter( filters, SMESH_LogicalFilter::LO_OR );
|
||||
|
||||
activateSelection(); // set filters
|
||||
// IPAL19360
|
||||
SMESHGUI_SelectionOp::startOperation(); // this method should be called only after filter creation
|
||||
//activateSelection(); // set filters // called inside of previous statement
|
||||
|
||||
myDlg->myX->SetValue(0);
|
||||
myDlg->myY->SetValue(0);
|
||||
|
Loading…
Reference in New Issue
Block a user