1b63268e |
1 | puts "=============" |
2 | puts "0030218: Visualization - custom selection presentation is not updated within SelectMgr_SelectableObject::UpdateTransformation()" |
3 | puts "=============" |
4 | |
5 | pload XDE VISUALIZATION |
6 | |
7 | vclear |
8 | vinit View1 |
9 | meshfromstl m [locate_data_file OCC6652.stl] |
10 | vfit |
11 | vzoom 0.75 |
12 | |
13 | vsetdispmode m 3 |
14 | vselmode m 8 1 |
15 | |
16 | vselect 5 5 200 200 |
17 | vlocation m -setLocation 500 0 0 |
18 | vmoveto 370 370 |
19 | if { [vreadpixel 145 145 rgb name] != "BLACK" } { puts "Error: MeshVS highlighting has wrong location" } |
20 | if { [vreadpixel 300 215 rgb name] != "GRAY80" } { puts "Error: MeshVS highlighting has wrong location" } |
21 | |
22 | vdump ${imagedir}/${casename}.png |