0027126: Create command checktrinfo to verify meshes
[occt.git] / tests / bugs / vis / bug26596
1 puts "============"
2 puts "CR26596"
3 puts "============"
4 puts ""
5
6 ##########################################################################################
7 puts "Visualization - hidden twice times structure should not be selectable"
8 ##########################################################################################
9
10 pload MODELING VISUALIZATION
11
12 box b 1 2 3
13 vinit View1
14 vclear
15 vaxo
16 vsetdispmode 1
17
18 vdisplay b
19 vfit
20 verase b
21
22 vdisplay b
23 verase b
24
25 vmoveto 250 250
26 set aResColor [vreadpixel 165 263]
27 if {$aResColor == "0 1 1 1"} {
28   puts "ERROR: Zero selection mode was not deactivated at second AIS_InteractiveContext::Erase call"
29 }
30
31 checkview -screenshot -3d -path ${imagedir}/${test_image}.png