mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
[bos #16792] [CEA 16785] Cannot select COMPSOLID. Fix BasicProperties dialog.
This commit is contained in:
parent
6fbe1acba9
commit
496aa6dc0f
@ -169,7 +169,9 @@ void MeasureGUI_PropertiesDlg::activateSelection()
|
|||||||
globalSelection( aTypes );
|
globalSelection( aTypes );
|
||||||
|
|
||||||
std::list<int> needTypes;
|
std::list<int> needTypes;
|
||||||
needTypes.push_back( TopAbs_EDGE ), needTypes.push_back( TopAbs_WIRE ), needTypes.push_back( TopAbs_FACE ), needTypes.push_back( TopAbs_SHELL ), needTypes.push_back( TopAbs_SOLID ), needTypes.push_back( TopAbs_COMPOUND );
|
needTypes.push_back( TopAbs_EDGE ), needTypes.push_back( TopAbs_WIRE ),
|
||||||
|
needTypes.push_back( TopAbs_FACE ), needTypes.push_back( TopAbs_SHELL ),
|
||||||
|
needTypes.push_back( TopAbs_SOLID ), needTypes.push_back( TopAbs_COMPOUND );
|
||||||
localSelection( needTypes );
|
localSelection( needTypes );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -177,7 +179,8 @@ void MeasureGUI_PropertiesDlg::SelectionIntoArgument()
|
|||||||
{
|
{
|
||||||
myObj.nullify();
|
myObj.nullify();
|
||||||
QList<TopAbs_ShapeEnum> aTypes;
|
QList<TopAbs_ShapeEnum> aTypes;
|
||||||
aTypes << TopAbs_EDGE << TopAbs_WIRE << TopAbs_FACE << TopAbs_SHELL << TopAbs_SOLID << TopAbs_COMPOUND;
|
aTypes << TopAbs_EDGE << TopAbs_WIRE << TopAbs_FACE << TopAbs_SHELL
|
||||||
|
<< TopAbs_SOLID << TopAbs_COMPSOLID << TopAbs_COMPOUND;
|
||||||
myObj = getSelected( aTypes );
|
myObj = getSelected( aTypes );
|
||||||
|
|
||||||
if (!myObj) {
|
if (!myObj) {
|
||||||
|
Loading…
Reference in New Issue
Block a user