66278500 |
1 | puts "=============" |
2 | puts "0030672: Visualization - AIS_InteractiveContext::SetLocation() sets invalid selection BVH flag to removed object" |
3 | puts "=============" |
4 | |
5 | pload MODELING VISUALIZATION |
6 | box b 1 2 3 |
7 | vclear |
8 | vinit View1 |
9 | vaxo |
10 | vdisplay -dispMode 1 -highMode 1 b |
11 | vfit |
12 | vremove -context b |
13 | vlocation b -setLocation 2 0 0 |
14 | vdisplay -dispMode 1 b |
15 | vmoveto 200 200 |
16 | if { [vreadpixel 150 150 -rgb -name] != "BLACK" } { puts "Error: wrong prs location" } |
ba00aab7 |
17 | if { [vreadpixel 300 300 -rgb -name] != "DARKGOLDENROD" } { puts "Error: wrong sel location" } |
66278500 |
18 | vmoveto 300 300 |
ba00aab7 |
19 | if { [vreadpixel 300 300 -rgb -name] != "CYAN2" } { puts "Error: wrong highlighting" } |
66278500 |
20 | |
21 | vdump $imagedir/${casename}.png |