File: bug24966

package info (click to toggle)
oce 0.18.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 301,548 kB
  • sloc: cpp: 1,190,609; ansic: 67,225; sh: 11,630; tcl: 7,954; cs: 5,221; python: 2,867; java: 1,522; makefile: 342; xml: 292; perl: 37
file content (30 lines) | stat: -rw-r--r-- 735 bytes parent folder | download | duplicates (3)
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