0025627: SelectedShape() and HasSelectedShape() of AIS_InteractiveContext class do...
authorvpa <vpa@opencascade.com>
Fri, 19 Dec 2014 12:24:09 +0000 (15:24 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 25 Dec 2014 15:22:21 +0000 (18:22 +0300)
commit51023771f99f25311b7d5fd27f436cd95e9f6104
tree44fd80327a3172dd091d24ca195590de8e0c9dbb
parentbbe97eddea98efd4537b5fa2dae2689bfe795def
0025627: SelectedShape() and HasSelectedShape() of AIS_InteractiveContext class do not work as expected.

Location calculation in SelectedShape() was corrected;
Method HasSelectedShape() that does not take into account shape decomposition was added.

Test case for issue 25627
src/AIS/AIS_InteractiveContext_1.cxx
src/AIS/AIS_LocalContext.cdl
src/AIS/AIS_LocalContext_1.cxx
src/ViewerTest/ViewerTest.cxx
tests/bugs/vis/bug25627 [new file with mode: 0644]