eef7fc64 |
1 | puts "============" |
2 | puts "OCC24391" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # Erased AIS object can not be displayed in AIS_InteractiveContext |
7 | # after AIS_InteractiveContext::Remove |
8 | ####################################################################### |
9 | |
10 | pload VISUALLIZATION |
11 | vinit |
12 | box a 1 1 1 |
13 | vdisplay a |
14 | verase a |
15 | vremove -context a |
16 | vdisplay a |
17 | vfit |
18 | |
ccadc126 |
19 | vaspects -setwidth 5 |
eef7fc64 |
20 | vmoveto 204 205 |
ccadc126 |
21 | if { "[vreadpixel 204 205 rgb name]" != "CYAN1" } { |
eef7fc64 |
22 | puts "Error : Erased object is not displayed after its removing." |
23 | } |
24 | |
25 | set only_screen 1 |