1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
puts "============"
puts "OCC24966"
puts "============"
puts ""
####################################################################################
# Visualization - Problem in local selection mode with selected objects staying
# in the viewer after erase
# Selected entity owners coming from decomposition are not erased in local selection
# context
####################################################################################
vinit View1
pload ALL
vinit
vertex p1 100 100 0
vertex p2 150 300 0
edge e1 p1 p2
vdisplay e1
vselmode e1 2 1
vselmode e1 1 1
vselect 0 0 2500 2500
verase -local
if { "[vreadpixel 261 204 rgb name]" != "BLACK" } {
puts "Error : Selection is not erased."
}
vdump ${imagedir}/${casename}.png
|