0027986: Visualization - AIS_InteractiveContext::SetLocation() does not update dynami...
[occt.git] / tests / bugs / vis / bug27757
CommitLineData
520cde87 1puts "============"
2puts "CR27757"
3puts "Visualization - handle child objects in selection manager regardless of HasOwnPresentations() flag"
4puts "============"
5puts ""
6
7pload VISUALIZATION QAcommands
8
9vinit
10
11# create box object that has sphere as a child object
12OCC27757
13vfit
14
15# check if the sphere was activated in selection manager
16# and is selectable
17vselect 120 245
18
19if {[vnbselected] != "1"} {
20 puts "Error: no object was selected; the sphere must be selected!"
21}
22if {[vreadpixel 145 285 name] != "GRAY80 1"} {
23 puts "Error: the sphere is not highlighted with selection color!"
24}
25
26checkview -screenshot -3d -path ${imagedir}/${test_image}.png