0026342: No materials are read from STEP
[occt.git] / tests / bugs / vis / bug23649_1
1 puts "============"
2 puts "CR23649"
3 puts "============"
4 puts ""
5
6 #######################################################################
7 # 0023649: Different behaviour of highlighting after shift selection.
8 # It tests default functionality of highlighting 
9 # during shift selection of sub-shapes (local context). 
10 #######################################################################
11
12 set anImage1 $imagedir/${casename}_Selection.png
13 set anImage2 $imagedir/${casename}_HighlightFirst.png
14 set anImage3 $imagedir/${casename}_HighlightSecond.png
15
16 box b 1 2 3
17 vinit
18 vdisplay b
19 vfit
20 vselmode b 2 1
21 #select the first edge
22 vselect 232 368
23 #select the second edge
24 vselect 165 278 1
25 vmoveto 0 0 
26 vdump ${anImage1}
27
28 #highlight the first edge - it should NOT be highlightable by default
29 vmoveto 232 368
30 vdump ${anImage2}
31
32 #highlight the second edge - it should NOT be highlightable by default
33 vmoveto 165 278
34 vdump ${anImage3}