5212bbb0 |
1 | puts "========" |
2 | puts "OCC26566" |
3 | puts "========" |
4 | puts "" |
5 | ################################################################## |
6 | puts "Visualization - incorrect highlight after selection of owners with auto-highlight disabled" |
7 | ################################################################## |
8 | |
9 | pload VISUALIZATION MODELING XSDRAW |
10 | vinit |
11 | |
12 | # create an object with auto-highlight disabled |
13 | meshfromstl m [locate_data_file b.stl] |
14 | vselmode m 8 1 |
15 | |
16 | # create an object with auto-highlight enabled |
17 | box b 100 100 100 |
18 | vdisplay b |
19 | |
20 | vfit |
21 | |
22 | # select box |
23 | vselect 200 200 |
24 | |
25 | # select mesh with auto-highlight disabled |
26 | vselect 290 370 |
27 | # check that box is drawn with its own color |
28 | checkcolor 321 128 1 1 0 |
29 | # check that selection prs for mesh is displayed |
30 | checkcolor 316 321 0.8 0.8 0.8 |
31 | |
32 | vselect 200 200 |
33 | # check that box is highlighted with selection color |
34 | checkcolor 321 128 0.8 0.8 0.8 |
35 | # check that mesh is drawn without selection |
36 | checkcolor 316 321 0 0 0 |
37 | |
38 | set only_screen 1 |