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