mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-05-25 15:10:49 +05:00
Fix for remark on PAL11017( Selected in object browser sub-shape is not highlighted in OCC 3D viewer ).
This commit is contained in:
parent
0c9aa567ca
commit
96892bc512
@ -323,6 +323,8 @@ void GroupGUI_GroupDlg::SelectionIntoArgument()
|
||||
|
||||
// try to find out and process the object browser selection
|
||||
if ( !aMapIndex.Extent() ) {
|
||||
globalSelection( GEOM_ALLSHAPES );
|
||||
|
||||
GEOM::ListOfGO anObjects;
|
||||
GEOMBase::ConvertListOfIOInListOfGO(selectedIO(), anObjects);
|
||||
GEOM::GEOM_ILocalOperations_var aLocOp = getGeomEngine()->GetILocalOperations( getStudyId() );
|
||||
@ -334,6 +336,9 @@ void GroupGUI_GroupDlg::SelectionIntoArgument()
|
||||
aMapIndex.Add( anIndex );
|
||||
}
|
||||
}
|
||||
|
||||
if ( !myMainObj->_is_nil() )
|
||||
localSelection( myMainObj, getShapeType() );
|
||||
}
|
||||
|
||||
if (aMapIndex.Extent() >= 1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user