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