0030969: Coding Rules - refactor Quantity_Color.cxx color table definition
[occt.git] / tests / bugs / vis / bug24901
CommitLineData
63c629aa 1puts "============"
2puts "CR24901"
3puts "============"
4puts ""
5#######################################################################
6# Visualization - Incorrect area filled with capping color
7#######################################################################
8
9vinit View1
10box b 10 10 10
11vdisplay b
12vsetdispmode 1
13
14vclipplane create pln1
15vclipplane set pln1 object b
16vclipplane change pln1 equation 0 1 0 -5
17vclipplane change pln1 capping on
18vfit
19vmoveto 304 146
20
aaf8d6a9 21if { "[vreadpixel 304 146 rgb name]" != "CYAN" } {
63c629aa 22 puts "Error : Highlighting is broken."
23}
24
5747059b 25checkview -screenshot -3d -path ${imagedir}/${test_image}.png