X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMeasureGUI%2FMeasureGUI_PropertiesDlg.cxx;h=f4343eac997ae7dcb75721976037fc341e04f0ff;hb=496aa6dc0f02b916609d77d77ae952611ad00a6d;hp=74d6f64d443920fec5ad696a53c84da683410d2c;hpb=d6f1d8730fa07983755573173bfdf8f708f91a17;p=modules%2Fgeom.git diff --git a/src/MeasureGUI/MeasureGUI_PropertiesDlg.cxx b/src/MeasureGUI/MeasureGUI_PropertiesDlg.cxx index 74d6f64d4..f4343eac9 100644 --- a/src/MeasureGUI/MeasureGUI_PropertiesDlg.cxx +++ b/src/MeasureGUI/MeasureGUI_PropertiesDlg.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2020 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -169,7 +169,9 @@ void MeasureGUI_PropertiesDlg::activateSelection() globalSelection( aTypes ); std::list 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 ); } @@ -177,7 +179,8 @@ void MeasureGUI_PropertiesDlg::SelectionIntoArgument() { myObj.nullify(); QList 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 ); if (!myObj) {