0030942: Draw Harness, ViewerTest - command vdefaults should abort script on unknown...
[occt.git] / tests / bugs / vis / bug23649_3
CommitLineData
c398b00e 1puts "============"
2puts "CR23649"
3puts "============"
4puts ""
5
6#######################################################################
7# 0023649: Different behaviour of highlighting after shift selection.
8# It tests default functionality of highlighting
9# during shift selection of shapes (neutral point).
10#######################################################################
11
12set anImage1 $imagedir/${casename}_Selection.png
13set anImage2 $imagedir/${casename}_HighlightFirst.png
14set anImage3 $imagedir/${casename}_HighlightSecond.png
15
16box a 2 0 0 3 2 1
17box b 1 2 3
18vinit
19vdisplay a b
20vfit
21#select the first shape
22vselect 70 230
23#select the second shape
f751596e 24vselect 200 358 1
c398b00e 25vmoveto 0 0
26vdump ${anImage1}
27
28#highlight the first edge - it should NOT be highlightable by default
29vmoveto 70 230
30vdump ${anImage2}
31
32#highlight the second edge - it should NOT be highlightable by default
f751596e 33vmoveto 200 358
34vdump ${anImage3}