mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-24 16:32:04 +05:00
Bug 19000: problem with local selection on multiple shapes.
This commit is contained in:
parent
f22d540e00
commit
d6ad74214c
@ -100,6 +100,7 @@ void GEOMGUI_OCCSelector::getSelection( SUIT_DataOwnerPtrList& aList ) const
|
||||
if (!bigShape.IsEqual(curBigShape))
|
||||
{
|
||||
curBigShape = bigShape;
|
||||
subShapes.Clear();
|
||||
TopExp::MapShapes(bigShape, subShapes);
|
||||
}
|
||||
index = subShapes.FindIndex(subShape);
|
||||
@ -272,6 +273,7 @@ void GEOMGUI_OCCSelector::setSelection( const SUIT_DataOwnerPtrList& aList )
|
||||
{
|
||||
isLocal = true;
|
||||
TopoDS_Shape shape = aisShape->Shape();
|
||||
aMapOfShapes.Clear();
|
||||
TopExp::MapShapes(shape, aMapOfShapes);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user