0027986: Visualization - AIS_InteractiveContext::SetLocation() does not update dynami...
[occt.git] / tests / bugs / vis / bug27536
CommitLineData
91d96372 1puts "========"
2puts "OCC27536"
3puts "========"
4puts ""
5##################################################################
6puts "Visualization - incorrect behavior of zoom persisted objects"
7##################################################################
8
9set anImage1 $imagedir/${casename}_1.png
10set anImage2 $imagedir/${casename}_2.png
11
12vinit
13vclear
14vaxo
15
16box b -50 -50 -50 100 100 100
17vdisplay b -trsfPers zoom -trsfPersPos 0 0 0 -dispmode 1
18
19vdump $anImage1
20
21vinit View2 w=200 h=400
22vaxo
23vfit
24
25# Check that box was't resized in small view
26if {[vreadpixel 165 200 name] != "DARKGOLDENROD3 1"} {
27 puts "ERROR: zoom persistent box is resized on view sizes changed!"
28}
29
30vdump $anImage2