eece3af2 |
1 | puts "============" |
2 | puts "CR26870" |
3 | puts "============" |
4 | puts "" |
5 | |
6 | ########################################################################################## |
7 | puts "Visualization - deactivated selections are not updated after object's re-computation" |
8 | ########################################################################################## |
9 | |
10 | pload VISUALIZATION MODELING |
11 | |
12 | vinit |
13 | box b 1 1 1 |
14 | vdisplay b |
15 | vfit |
16 | |
17 | vselmode b 2 1 |
18 | vselmode b 4 1 |
19 | vselmode b 4 0 |
20 | |
21 | box b 3 3 3 |
22 | vdisplay b |
23 | vfit |
24 | |
25 | vselmode 4 1 |
26 | |
27 | # pick a point onto previously computed face |
28 | vmoveto 80 265 |
29 | if {[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 |
33 | if {[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 |
37 | checkview -screenshot -3d -path ${imagedir}/${test_image}.png |