blob: 15dad4064fc5bbfce40fb093a72b03234aa7e541 [file] [edit]
puts "============"
puts "0023649: Different behaviour of highlighting after shift selection"
puts "It tests highlighting of selected sub-shapes."
puts "This mode is option of interactive context."
puts "============"
puts ""
set anImage1 $imagedir/${casename}_HighlightFirst.png
set anImage2 $imagedir/${casename}_HighlightSecond.png
box b 1 2 3
vinit
vdisplay b
vfit
vselmode b 2 1
#select the first edge
vselect 232 368
#select the second edge
vselect 165 278 -xor
vmoveto 0 0
#enable 'highlight selected' mode
vhighlightselected on
#highlight the first edge - it should be highlightable by default
vmoveto 232 368
vdump ${anImage1}
#highlight the second edge - it should be highlightable by default
vmoveto 165 278
vdump ${anImage2}