7fd6425d |
1 | puts "============" |
2 | puts "OCC25528" |
3 | puts "============" |
4 | puts "" |
5 | #################################################################################### |
6 | # Visualization - Exception on removing an interactive object from |
7 | # a local context |
8 | # vremove -local <obj_name> crashes if there is an opened local context |
9 | #################################################################################### |
10 | |
11 | pload ALL |
12 | box b 1 2 3 |
13 | vinit |
14 | vdisplay b |
15 | vfit |
16 | |
17 | # opening a local context for local selection |
c3282ec1 |
18 | vselmode b 4 1 -local |
7fd6425d |
19 | # Select a face just to simulate the scenario used in a real application |
20 | vselect 200 200 |
21 | # This line should not lead to exception |
22 | vremove -local b |
23 | |
24 | # Screenshot should be empty (box removed successfully) |
25 | vdump ${imagedir}/${casename}.png |