0027991: Modeling Algorithms - BRepGProp_Face crashes on face without geometric surface
[occt.git] / tests / bugs / vis / bug25528
CommitLineData
7fd6425d 1puts "============"
2puts "OCC25528"
3puts "============"
4puts ""
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
11pload ALL
12box b 1 2 3
13vinit
14vdisplay b
15vfit
16
17# opening a local context for local selection
c3282ec1 18vselmode b 4 1 -local
7fd6425d 19# Select a face just to simulate the scenario used in a real application
20vselect 200 200
21# This line should not lead to exception
22vremove -local b
23
24# Screenshot should be empty (box removed successfully)
25vdump ${imagedir}/${casename}.png