0030439: Visualization - extend fonts search within Font_FontMgr::FindFont() on Linux
[occt.git] / tests / bugs / vis / bug24391
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
19 vaspects -setwidth 5
20 vmoveto 204 205
21 if {  "[vreadpixel 204 205 rgb name]" != "CYAN1"  } {
22    puts "Error : Erased object is not displayed after its removing."
23 }
24
25 checkview -screenshot -3d -path ${imagedir}/${test_image}.png