0030182: Visualization, Image_AlienPixMap - support reading encoded image from memory...
[occt.git] / tests / bugs / vis / bug28988
1 puts "=================="
2 puts "0028988: Visualization - AIS_InteractiveContext::SetLocation() does not reset location properly"
3 puts "=================="
4 puts ""
5
6 pload MODELING VISUALIZATION
7
8 box b 1 2 3
9 vclear
10 vinit View1
11 vaxo
12 vdisplay -dispMode 1 -highMode 1 b
13 vfit
14 vmoveto 110 110
15 if { "[vreadpixel 110 110 rgb name]" != "DARKTURQUOISE" } { puts "Error: shape is not selected!" }
16
17 vlocation b -translate 1 0 0
18 vmoveto 110 110
19 vlocation b -reset
20 vmoveto 110 110
21 vreadpixel 110 110 rgb name
22 if { "[vreadpixel 110 110 rgb name]" != "DARKTURQUOISE" } { puts "Error: resetted shape is not selected!" }