0029768: Visualization, TKOpenGl - structure is entirely clipped by suppressed clipping
[occt.git] / tests / bugs / vis / bug25528
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
18 vselmode b 4 1 -local
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