0027991: Modeling Algorithms - BRepGProp_Face crashes on face without geometric surface
[occt.git] / tests / bugs / vis / bug22912
1 puts "==========="
2 puts "OCC22912"
3 puts "==========="
4 puts ""
5 ########################################################################################################################
6 # After calling AIS_InteractiveContext::UnsetColor objects are drawn with the same color when transparency is changed
7 ########################################################################################################################
8
9 restore [locate_data_file bug22912_p.brep] p
10 explode p
11 vinit
12 vdisplay p_1
13 vdisplay p_2
14 vfit
15 vsetdispmode p_1 1
16 vsetdispmode p_2 1
17 vsetcolor p_1 red
18 vsetcolor p_2 green
19 vunsetcolor p_1
20 vunsetcolor p_2
21 vsetcolor p_1 red
22 vsetcolor p_2 green
23 vsettransparency p_1 0.5
24 vsettransparency p_1 0
25
26 checkcolor 120 150 0.831 0.000 0.000
27 checkcolor 180 273 0.000 0.753 0.000
28
29 checkview -screenshot -3d -path ${imagedir}/${test_image}.png
30
31
32