0027986: Visualization - AIS_InteractiveContext::SetLocation() does not update dynami...
[occt.git] / tests / bugs / vis / bug26430
CommitLineData
72080ae1 1puts "============"
2puts "CR26430"
3puts "============"
4puts ""
5
6##########################################################################################
7puts "Visualization - segmentation fault in opened local context"
8##########################################################################################
9
10pload MODELING VISUALIZATION
11
12restore [locate_data_file bug26430.brep] aShape
13
14vinit View1
15vdisplay aShape
16vfit
17vsetdispmode aShape 1
18
19vselmode aShape 1 1
20vselmode aShape 2 1
21vselmode aShape 3 1
22vselmode aShape 4 1
23vselmode aShape 5 1
24
25# check selection for all problematic cases
26vselect 125 155
27set aNbSelected [vnbselected]
28if {$aNbSelected != 1} {
29 puts "ERROR: Vertex was not selected!"
30}
31
32vselect 0 0
33vselect 121 155 130 160
34set aNbSelected [vnbselected]
35if {$aNbSelected != 1} {
36 puts "ERROR: Vertex was not selected!"
37}
38
39vselect 0 0
40vselect 100 100 200 200
41set aNbSelected [vnbselected]
42if {$aNbSelected != 14} {
43 puts "ERROR: Vertex was not selected!"
44}
45
46vdump ${imagedir}/${casename}