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