0029768: Visualization, TKOpenGl - structure is entirely clipped by suppressed clipping
[occt.git] / tests / bugs / vis / bug22912
CommitLineData
d53ae65f 1puts "==========="
2puts "OCC22912"
3puts "==========="
4puts ""
5########################################################################################################################
6# After calling AIS_InteractiveContext::UnsetColor objects are drawn with the same color when transparency is changed
7########################################################################################################################
8
9restore [locate_data_file bug22912_p.brep] p
10explode p
11vinit
12vdisplay p_1
13vdisplay p_2
14vfit
15vsetdispmode p_1 1
16vsetdispmode p_2 1
17vsetcolor p_1 red
18vsetcolor p_2 green
19vunsetcolor p_1
20vunsetcolor p_2
21vsetcolor p_1 red
22vsetcolor p_2 green
23vsettransparency p_1 0.5
24vsettransparency p_1 0
25
44c7c33e 26checkcolor 120 150 0.831 0.000 0.000
27checkcolor 180 273 0.000 0.753 0.000
d53ae65f 28
5747059b 29checkview -screenshot -3d -path ${imagedir}/${test_image}.png
d53ae65f 30
31
32