0027986: Visualization - AIS_InteractiveContext::SetLocation() does not update dynami...
[occt.git] / tests / bugs / vis / bug27805
CommitLineData
02974a19 1puts "============"
2puts "CR27805"
3puts "AIS_InteractiveContext::FitSelected() is broken for global selection"
4puts "============"
5puts ""
6
7set anImgFitAll $imagedir/${casename}_fitall.png
8set anImgFitSel $imagedir/${casename}_fitsel.png
9set anImgDiff $imagedir/${casename}_diff.png
10
11pload MODELING VISUALIZATION
12box b 1 2 3
13vclear
14vinit View1
15vaxo
16vdisplay -dispMode 1 b
17vfit
18vselect 200 200
19vdump $anImgFitAll
20vfit -selected
21vdump $anImgFitSel
22
23set aDiffRes [diffimage $anImgFitSel $anImgFitAll 0.0 0 0 $anImgDiff]
24if {$aDiffRes != 0} {
25 puts "Error: FitSelected() does not match FitAll() for single object"
26}