0029412: Huge Memory leak since I upgraded to OC 6.9.0
[occt.git] / tests / bugs / vis / bug24966
CommitLineData
fb4b684a 1puts "============"
b5cce1ab 2puts "0024966: Visualization - Problem in local selection mode with selected objects staying in the viewer after erase"
3puts "Selected entity owners coming from decomposition are not erased in local selection context"
fb4b684a 4puts "============"
5puts ""
fb4b684a 6
b5cce1ab 7pload MODELING VISUALIZATION
8vclear
fb4b684a 9vinit View1
fb4b684a 10
11vertex p1 100 100 0
12vertex p2 150 300 0
13edge e1 p1 p2
14
15vdisplay e1
c3282ec1 16vselmode e1 2 1 -local
17vselmode e1 1 1 -local
fb4b684a 18vselect 0 0 2500 2500
19verase -local
20
b5cce1ab 21if { "[vreadpixel 261 204 rgb name]" != "BLACK" } { puts "Error : Selection is not erased." }
fb4b684a 22
23vdump ${imagedir}/${casename}.png