Files
OCCT/tests/bugs/vis/bug26424
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

32 lines
727 B
Plaintext

puts "========"
puts "OCC26424"
puts "========"
puts ""
################################################################
# Text is not rendered within core profile on Windows platform
################################################################
vcaps -core
vinit View1
vclear
vaxo
vzbufftrihedron
if { [array get env os_type] != "" } {
set os $env(os_type)
}
if { [string compare $os "windows"] != 0 } {
# Linux platform
set ok_color "GRAY85"
} else {
# Windows platform
set ok_color "GRAY52"
}
set bug_info [vreadpixel 71 350 rgb name]
if {$bug_info != $ok_color} {
puts "ERROR: OCC26424 is reproduced. Trihedron does non have text labels."
}
checkview -screenshot -3d -path ${imagedir}/${test_image}.png