0023483: Use appropriate type for handling integer time
[occt.git] / tests / bugs / vis / bug146
1 puts "================"
2 puts "OCC146"
3 puts "================"
4 ############################################################################
5 ##The first click on shape selects it - it is right. But the second one deselects it and the following clicks have no effect.
6 ############################################################################
7
8 v2dinit
9 box b_b 10 15 20
10 trotate b_b 0 0 0 1 1 1 45
11 v2ddisplay b_b
12 v2dfit
13
14 QASelect2d 155 180
15 QASelect2d 155 180
16 QASelect2d 155 180
17
18 set coord_x 155
19 set coord_y 177
20 set color2d 1
21
22 checkcolor $coord_x $coord_y 0.8 0.8 0.8
23
24 if { $stat != 1 } {
25     puts "Error : The second selection of selected object deselects it and the following clicks have no effect"
26 }
27
28 set only_screen2d 1
29