0029395: Visualization, V3d_View - Grid disappears forever after enabling RayTracing
[occt.git] / tests / bugs / vis / bug26870
CommitLineData
eece3af2 1puts "============"
2puts "CR26870"
3puts "============"
4puts ""
5
6##########################################################################################
7puts "Visualization - deactivated selections are not updated after object's re-computation"
8##########################################################################################
9
10pload VISUALIZATION MODELING
11
12vinit
13box b 1 1 1
14vdisplay b
15vfit
16
17vselmode b 2 1
18vselmode b 4 1
19vselmode b 4 0
20
21box b 3 3 3
22vdisplay b
23vfit
24
25vselmode 4 1
26
27# pick a point onto previously computed face
28vmoveto 80 265
29if {[vreadpixel 90 206 name] == "CYAN1 1"} {
30 puts "ERROR: previously computed entities are highlighted! Selection mode 4 was not updated after redisplaying the box."
31}
32# pick a point onto box
33if {[vreadpixel 29 216 name] == "YELLOW 1"} {
34 puts "ERROR: the box's face is not highlighted! Selection mode 4 was not updated after redisplaying the box."
35}
36
5747059b 37checkview -screenshot -3d -path ${imagedir}/${test_image}.png