0027986: Visualization - AIS_InteractiveContext::SetLocation() does not update dynami...
[occt.git] / tests / bugs / vis / bug2066
1 puts "================"
2 puts "OCC2066"
3 puts "================"
4 puts ""
5 #######################################################################################
6 # CRASH in AIS_InteractiveContext::PurgeViewer(const Handle(V3d_Viewer)& Vwr)
7 #######################################################################################
8
9 box b 10 10 10
10 box b2 20 20 20 10 10 10
11 vinit
12 vdisplay b b2
13 vfit
14 verase b
15
16 if [catch {vpurgedisplay} result] {
17     puts "Faulty OCC2066"
18 } else {
19     puts "OK OCC2066"
20 }
21
22 checkview -screenshot -3d -path ${imagedir}/${test_image}.png
23