0027986: Visualization - AIS_InteractiveContext::SetLocation() does not update dynami...
[occt.git] / tests / bugs / vis / bug26566
CommitLineData
5212bbb0 1puts "========"
2puts "OCC26566"
3puts "========"
4puts ""
5##################################################################
6puts "Visualization - incorrect highlight after selection of owners with auto-highlight disabled"
7##################################################################
8
9pload VISUALIZATION MODELING XSDRAW
10vinit
11
12# create an object with auto-highlight disabled
13meshfromstl m [locate_data_file b.stl]
14vselmode m 8 1
15
16# create an object with auto-highlight enabled
17box b 100 100 100
18vdisplay b
19
20vfit
21
22# select box
23vselect 200 200
24
25# select mesh with auto-highlight disabled
26vselect 290 370
27# check that box is drawn with its own color
28checkcolor 321 128 1 1 0
29# check that selection prs for mesh is displayed
30checkcolor 316 321 0.8 0.8 0.8
31
32vselect 200 200
33# check that box is highlighted with selection color
34checkcolor 321 128 0.8 0.8 0.8
35# check that mesh is drawn without selection
36checkcolor 316 321 0 0 0
37
5747059b 38checkview -screenshot -3d -path ${imagedir}/${test_image}.png