0027986: Visualization - AIS_InteractiveContext::SetLocation() does not update dynami...
[occt.git] / tests / bugs / vis / bug22016
CommitLineData
e1b01c73 1puts "========"
2puts "OCC22016"
3puts "========"
4puts ""
5#########################################################################################
6# Incorrect selection color after displaying a selected object
7#########################################################################################
8
9pload MODELING VISUALIZATION
10box b1 0 0 0 1 2 3
11box b2 3 0 0 2 3 1
12vinit View1
13vclear
14vaxo
15vdisplay -noupdate b1 b2
16vaspects b1 b2 -setWidth 4
17vfit
18vselect 0 0 500 500
19vdisplay b2
20set aColor1 [vreadpixel 104 32 rgb name]
21set aColor2 [vreadpixel 255 350 rgb name]
22
23if {$aColor1 != "GRAY80" || $aColor2 != "GRAY80" } {
24 puts "ERROR: OCC22016 is reproduced. Incorrect selection color after displaying a selected object."
25}
26
27vdump ${imagedir}/${casename}.png