Adding new testing cases for chl grid
[occt.git] / tests / bugs / vis / bug23120
CommitLineData
e84189c5 1puts "============"
2puts "OCC23120"
3puts "============"
4puts ""
5###########################################################################
6# Transform persistence is not restored
7###########################################################################
8
9pload QAcommands
10
11box b1 10 20 30
12box b2 10 20 30
13ttranslate b2 50 50 0
14vinit
15vdisplay b1
16# This line breaks normal rendering
17# of all subsequently displayed presentations
18vsettransmode b1 32 0 0 0 0 0
19# This box is drawn incorrectly due to the bug
20vdisplay b2
21vfit
22vsetdispmode 1
23vzoom 0.5
24vpan 100 0
25
f1aa2b62 26set x_coord 300
27set y_coord 130
e84189c5 28
f1aa2b62 29checkcolor $x_coord $y_coord 0.78 0.55 0.9
e84189c5 30
f1aa2b62 31if { $stat != 1 } {
e84189c5 32 puts "Error : Transform persistence is not restored"
e84189c5 33}
34
82cbc512 35set only_screen 1
f1aa2b62 36