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