0029528: Visualization, TKOpenGl - allow defining sRGB textures
[occt.git] / tests / bugs / vis / bug27986_2
CommitLineData
7bbccb5f 1puts "==========="
2puts "OCC27986"
3puts "Visualization - AIS_InteractiveContext::SetLocation() does not update dynamic highlighting"
4puts "Test local selection"
5puts "==========="
6puts ""
7
8pload MODELING VISUALIZATION
9box b 1 2 3
10
11vclear
12vinit View1
13vaxo
14vdisplay -dispMode 0 -highMode 1 b
15vfit
16vzoom 0.5
17vselmode b 4 1
18vmoveto 250 250
19vsetlocation b 2 1 0
20set aColor1 [vreadpixel 220 200 rgb name]
21set aColor2 [vreadpixel 350 220 rgb name]
ba00aab7 22if { "$aColor1" != "BLACK" || "$aColor2" != "CYAN2" } { puts "Error: dynamic highlighting is not updated" }
7bbccb5f 23
24vdump $imagedir/${casename}.png