puts "============"
puts "0024966: Visualization - Problem in local selection mode with selected objects staying in the viewer after erase"
puts "Selected entity owners coming from decomposition are not erased in local selection context"
puts "============"
puts ""

pload MODELING VISUALIZATION
vclear
vinit View1

vertex p1 100 100 0
vertex p2 150 300 0
edge e1 p1 p2

vdisplay e1
vselmode e1 2 1 -local
vselmode e1 1 1 -local
vselect 0 0 2500 2500
verase -local

if { "[vreadpixel 261 204 rgb name]" != "BLACK" } { puts "Error : Selection is not erased." }

vdump ${imagedir}/${casename}.png
