mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
20 lines
600 B
Plaintext
20 lines
600 B
Plaintext
puts "============"
|
|
puts "CR25381"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Visualization - XCAFPrs_AISObject ignores visibility flag for sub-shapes
|
|
######################################################
|
|
|
|
ReadStep D [locate_data_file bug25381_test_assembly_invisible.step]
|
|
XShow D
|
|
vfit
|
|
|
|
if { "[vreadpixel 198 172 rgb name]" != "WHITE" } {
|
|
puts "OK : XCAFPrs_AISObject get visibility flag for sub-shapes"
|
|
} else {
|
|
puts "Error : XCAFPrs_AISObject ignores visibility flag for sub-shapes"
|
|
}
|
|
|
|
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
|