0027986: Visualization - AIS_InteractiveContext::SetLocation() does not update dynami...
[occt.git] / tests / bugs / vis / bug26960
CommitLineData
5396886c 1puts "========"
2puts "OCC26960"
3puts "========"
4puts ""
5##################################################################
6puts "Visualization, TKOpenGl - update transformation of dynamically highlighted presentation"
7##################################################################
8
9pload VISUALIZATION MODELING
10
11box b 1 2 3
12
13vclear
14vinit View1
15
16vdisplay -dispmode 1 -highmode 1 b
17vfit
18vselmode 4 1
19vmoveto 250 250
20if {[vreadpixel 350 140 rgb name] != "BLACK"} {
21 puts "ERROR: wrong inital location"
22}
23vsetlocation b 0.5 0 0
f9ba5c4d 24if {[vreadpixel 350 140 rgb name] != "DARKTURQUOISE"} {
5396886c 25 puts "ERROR: the transformation was not applied to highlight structure"
26}
27
5747059b 28checkview -screenshot -3d -path ${imagedir}/${test_image}.png