6 ##########################################################################################
7 puts "Visualization - selection does not adapt to line width change"
8 ##########################################################################################
10 pload VISUALIZATION MODELING
17 vsetlocation b1 10 10 0
20 vaspects b1 b2 -setWidth 3
23 # try to select b1 and b2
26 # check that both boxes were not selected with default tolerance value
27 set aNbSelected [vnbselected]
28 if {$aNbSelected != "0"} {
29 puts "ERROR: no boxes must be selected!"
32 puts "0029779: Visualization, SelectMgr_SelectableObject - sensitivity change for object not activated in given mode leads to crash"
33 vaspects b1 -setSensitivity 3 4
35 # increase tolerance for b1
36 vaspects b1 -setSensitivity 2 4
40 # check that b1's edge was selected
41 set aNbSelected [vnbselected]
42 if {$aNbSelected != "1"} {
43 puts "ERROR: b1 was not selected"
47 # check that increase of tolerance for b1 doesn't influence
49 set aNbSelected [vnbselected]
50 if {$aNbSelected != "1"} {
51 puts "ERROR: b2 is selected after b1's tolerance increased"
54 checkview -screenshot -3d -path ${imagedir}/${test_image}.png