0032155: Tests - remove broken command OCC280
[occt.git] / tests / bugs / vis / bug29262
CommitLineData
6194ee76 1puts "========"
2puts "0029262: Visualization - AIS_InteractiveContext::Load() does not register Object in the Viewer"
3puts "========"
4puts ""
5
6pload MODELING VISUALIZATION
7vclear
8vclose ALL
9vinit View1
10vinit View2
11box b 1 2 3
12vdisplay -dispMode 1 -inview -erased b
13vdisplay b
14vfit
ba00aab7 15if { [vreadpixel 200 200 rgb name] != "DARKGOLDENROD" } { puts "Error: object is not displayed in Shaded mode" }
6194ee76 16vdump $imagedir/${casename}_view2.png
17
18vactivate View1
19if { [vreadpixel 200 200 rgb name] != "BLACK" } { puts "Error: object view affinity is ignored" }
20vdump $imagedir/${casename}_view1.png