0022898: IGES import fails in german environment
[occt.git] / tests / bugs / vis / bug23385
CommitLineData
3bea4c16 1puts "============"
2puts "OCC23385"
3puts "============"
4puts ""
5####################################################################################
6# Bug in AIS_TexturedShape::Compute()
7####################################################################################
8
9set BugNumber OCC23385
10
11vinit
12restore [locate_data_file OCC23115-bottle.brep] b
13explode b F
14vdisplay b_16
15vtexture b_16 [locate_data_file OCC23385-carrelage1.gif]
16vtexrepeat b_16 3 2
17vsetdispmode b_16 1
18vfit
19
20set color [QAGetPixelColor 85 73]
21regexp {RED +: +([-0-9.+eE]+)} $color full R_check
22regexp {GREEN +: +([-0-9.+eE]+)} $color full G_check
23regexp {BLUE +: +([-0-9.+eE]+)} $color full B_check
24set color_status 0
25if { ${R_check} != 0 || ${G_check} != 0 || ${B_check} != 0 } {
26 set color_status 0
27} else {
28 set color_status 1
29}
30
31puts ""
32if { ${color_status} != 0 } {
33 puts "Faulty ${BugNumber}"
34} else {
35 puts "OK ${BugNumber}"
36}
37
38set only_screen 1
39
40
41
42