0029412: Huge Memory leak since I upgraded to OC 6.9.0
[occt.git] / tests / bugs / vis / bug25775
CommitLineData
f42753ed 1puts "========"
2puts "OCC25775"
3puts "========"
4puts ""
5################################################################
6# "Default Gradient Backgound" in V3d_Viewer has no effect in new created V3d_View.
7################################################################
8
9pload ALL
10vsetdefaultbg 0 0 0 64 64 64 1
11vinit View1 w=400 h=400
12if { [checkcolor 399 100 0.25 0.25 0.25] != 1 } {
13 puts "Error: bug with default gradient color is reproduced."
14}
15
16vinit View2 w=400 h=400
17if { [checkcolor 399 100 0.25 0.25 0.25] != 1 } {
18 puts "Error: bug with default gradient color is reproduced."
19}
20
21vsetdefaultbg 128 128 128
22vinit View3
23if { [checkcolor 100 100 0.5 0.5 0.5] != 1 } {
24 puts "Error: bug with default background color is reproduced."
25}