mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-22 13:45:37 +05:00
IPAL21437 Multi-selection is not impossible in transformation dialogs.
This commit is contained in:
parent
e59444bf0e
commit
9ba9c7a29a
@ -289,10 +289,11 @@ void TransformationGUI_MirrorDlg::SelectionIntoArgument()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// clear selection
|
// clear selection
|
||||||
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
|
/* disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
|
||||||
myGeomGUI->getApp()->selectionMgr()->clearSelected();
|
myGeomGUI->getApp()->selectionMgr()->clearSelected();
|
||||||
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
|
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
|
||||||
this, SLOT(SelectionIntoArgument()));
|
this, SLOT(SelectionIntoArgument()));*/
|
||||||
|
// here commented, because multiple objects can be selected IPAL 21437
|
||||||
|
|
||||||
displayPreview();
|
displayPreview();
|
||||||
}
|
}
|
||||||
|
@ -425,10 +425,11 @@ void TransformationGUI_PositionDlg::SelectionIntoArgument()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// clear selection
|
// clear selection
|
||||||
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
|
/* disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
|
||||||
myGeomGUI->getApp()->selectionMgr()->clearSelected();
|
myGeomGUI->getApp()->selectionMgr()->clearSelected();
|
||||||
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
|
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
|
||||||
this, SLOT(SelectionIntoArgument()));
|
this, SLOT(SelectionIntoArgument()));*/
|
||||||
|
// here commented, because multiple objects can be selected IPAL 21437
|
||||||
|
|
||||||
displayPreview();
|
displayPreview();
|
||||||
}
|
}
|
||||||
|
@ -332,10 +332,10 @@ void TransformationGUI_RotationDlg::SelectionIntoArgument()
|
|||||||
myEditCurrentArgument->setText(aName);
|
myEditCurrentArgument->setText(aName);
|
||||||
|
|
||||||
if (myEditCurrentArgument == GroupPoints->LineEdit1) {
|
if (myEditCurrentArgument == GroupPoints->LineEdit1) {
|
||||||
if (myObjects.length()) {
|
/* if (myObjects.length()) {
|
||||||
if (getConstructorId() == 0 && myAxis->_is_nil() || getConstructorId() == 1 && myCentPoint->_is_nil() )
|
if (getConstructorId() == 0 && myAxis->_is_nil() || getConstructorId() == 1 && myCentPoint->_is_nil() )
|
||||||
GroupPoints->PushButton2->click();
|
GroupPoints->PushButton2->click();
|
||||||
}
|
}*/ // here commented, because multiple objects can be selected IPAL 21437
|
||||||
}
|
}
|
||||||
else if (myEditCurrentArgument == GroupPoints->LineEdit2 && getConstructorId() == 0) {
|
else if (myEditCurrentArgument == GroupPoints->LineEdit2 && getConstructorId() == 0) {
|
||||||
myAxis = aSelectedObject;
|
myAxis = aSelectedObject;
|
||||||
@ -359,10 +359,11 @@ void TransformationGUI_RotationDlg::SelectionIntoArgument()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// clear selection
|
// clear selection
|
||||||
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
|
/* disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
|
||||||
myGeomGUI->getApp()->selectionMgr()->clearSelected();
|
myGeomGUI->getApp()->selectionMgr()->clearSelected();
|
||||||
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
|
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
|
||||||
this, SLOT(SelectionIntoArgument()));
|
this, SLOT(SelectionIntoArgument()));*/
|
||||||
|
// here commented, because multiple objects can be selected IPAL 21437
|
||||||
|
|
||||||
displayPreview();
|
displayPreview();
|
||||||
}
|
}
|
||||||
|
@ -344,10 +344,11 @@ void TransformationGUI_ScaleDlg::SelectionIntoArgument()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// clear selection
|
// clear selection
|
||||||
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
|
/* disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
|
||||||
myGeomGUI->getApp()->selectionMgr()->clearSelected();
|
myGeomGUI->getApp()->selectionMgr()->clearSelected();
|
||||||
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
|
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
|
||||||
this, SLOT(SelectionIntoArgument()));
|
this, SLOT(SelectionIntoArgument()));*/
|
||||||
|
// here commented, because multiple objects can be selected IPAL 21437
|
||||||
|
|
||||||
displayPreview();
|
displayPreview();
|
||||||
}
|
}
|
||||||
|
@ -396,10 +396,11 @@ void TransformationGUI_TranslationDlg::SelectionIntoArgument()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// clear selection
|
// clear selection
|
||||||
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
|
/* disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
|
||||||
myGeomGUI->getApp()->selectionMgr()->clearSelected();
|
myGeomGUI->getApp()->selectionMgr()->clearSelected();
|
||||||
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
|
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
|
||||||
this, SLOT(SelectionIntoArgument()));
|
this, SLOT(SelectionIntoArgument()));*/
|
||||||
|
// here commented, because multiple objects can be selected IPAL 21437
|
||||||
|
|
||||||
displayPreview();
|
displayPreview();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user