0032237: Visualization, TKOpenGl - fix Gouraud shading within perspective camera...
[occt.git] / tests / bugs / vis / bug27986_1
CommitLineData
7bbccb5f 1puts "==========="
2puts "OCC27986"
3puts "Visualization - AIS_InteractiveContext::SetLocation() does not update dynamic highlighting"
4puts "Test global 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
17vmoveto 250 250
18vsetlocation b 2 1 0
19set aColor1 [vreadpixel 220 200 rgb name]
20set aColor2 [vreadpixel 350 220 rgb name]
ba00aab7 21if { "$aColor1" != "BLACK" || "$aColor2" != "CYAN2" } { puts "Error: dynamic highlighting is not updated" }
7bbccb5f 22
23vdump $imagedir/${casename}.png