mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-22 11:50:34 +05:00
Fix for the bug IPAL22807:"TC6.4.0: input objects are not highlighted in 3D viewer"
This commit is contained in:
parent
9f11350cbe
commit
aa5b2185c9
@ -269,12 +269,6 @@ void PrimitiveGUI_ConeDlg::SelectionIntoArgument()
|
||||
|
||||
myEditCurrentArgument->setText(aName);
|
||||
|
||||
// clear selection
|
||||
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
|
||||
myGeomGUI->getApp()->selectionMgr()->clearSelected();
|
||||
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
|
||||
this, SLOT(SelectionIntoArgument()));
|
||||
|
||||
if (myEditCurrentArgument == GroupPoints->LineEdit1) {
|
||||
myPoint = aSelectedObject;
|
||||
if (myPoint && !myDir)
|
||||
@ -285,6 +279,14 @@ void PrimitiveGUI_ConeDlg::SelectionIntoArgument()
|
||||
if (myDir && !myPoint)
|
||||
GroupPoints->PushButton1->click();
|
||||
}
|
||||
|
||||
if ((myPoint && !myDir) || (myDir && !myPoint)) {
|
||||
// clear selection
|
||||
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
|
||||
myGeomGUI->getApp()->selectionMgr()->clearSelected();
|
||||
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
|
||||
this, SLOT(SelectionIntoArgument()));
|
||||
}
|
||||
}
|
||||
|
||||
displayPreview(true);
|
||||
|
Loading…
Reference in New Issue
Block a user