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