0031999: Tests - request Core Profile on macOS for Ray-Tracing tests
[occt.git] / tests / bugs / vis / bug30672
CommitLineData
66278500 1puts "============="
2puts "0030672: Visualization - AIS_InteractiveContext::SetLocation() sets invalid selection BVH flag to removed object"
3puts "============="
4
5pload MODELING VISUALIZATION
6box b 1 2 3
7vclear
8vinit View1
9vaxo
10vdisplay -dispMode 1 -highMode 1 b
11vfit
12vremove -context b
13vlocation b -setLocation 2 0 0
14vdisplay -dispMode 1 b
15vmoveto 200 200
16if { [vreadpixel 150 150 -rgb -name] != "BLACK" } { puts "Error: wrong prs location" }
ba00aab7 17if { [vreadpixel 300 300 -rgb -name] != "DARKGOLDENROD" } { puts "Error: wrong sel location" }
66278500 18vmoveto 300 300
ba00aab7 19if { [vreadpixel 300 300 -rgb -name] != "CYAN2" } { puts "Error: wrong highlighting" }
66278500 20
21vdump $imagedir/${casename}.png