1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/vis/bug23363
2013-02-01 17:32:08 +04:00

29 lines
655 B
Plaintext
Executable File

puts "============"
puts "OCC23363"
puts "============"
puts ""
####################################################################################
# [Regression] Lost gradient background when switching to the hollow interior style
####################################################################################
set BugNumber OCC23363
vinit
vsetgradientbg 250 0 0 0 255 0 2
pcylinder p 100 200
vdisplay p
vsetdispmode p 1
vsetinteriorstyle p 1
set color [QAGetPixelColor 10 0]
regexp {RED +: +([-0-9.+eE]+)} $color full R_check
puts ""
if { ${R_check} == 0 } {
puts "Faulty ${BugNumber}"
} else {
puts "OK ${BugNumber}"
}
set only_screen 1