fb4b684a |
1 | puts "============" |
2 | puts "OCC24966" |
3 | puts "============" |
4 | puts "" |
5 | #################################################################################### |
6 | # Visualization - Problem in local selection mode with selected objects staying |
7 | # in the viewer after erase |
8 | # Selected entity owners coming from decomposition are not erased in local selection |
9 | # context |
10 | #################################################################################### |
11 | |
12 | vinit View1 |
13 | pload ALL |
14 | vinit |
15 | |
16 | vertex p1 100 100 0 |
17 | vertex p2 150 300 0 |
18 | edge e1 p1 p2 |
19 | |
20 | vdisplay e1 |
21 | vselmode e1 2 1 |
22 | vselmode e1 1 1 |
23 | vselect 0 0 2500 2500 |
24 | verase -local |
25 | |
ccadc126 |
26 | if { "[vreadpixel 261 204 rgb name]" != "BLACK" } { |
fb4b684a |
27 | puts "Error : Selection is not erased." |
28 | } |
29 | |
30 | vdump ${imagedir}/${casename}.png |