0029768: Visualization, TKOpenGl - structure is entirely clipped by suppressed clipping
[occt.git] / tests / bugs / vis / bug26538
CommitLineData
d437b80d 1puts "============"
2puts "OCC26538"
3puts "============"
4puts ""
5#######################################################################
6# Visualization - Infinite growth of maxtrix stack in OpenGl_Structure::Render
7#######################################################################
8
9box b1 1 1 1
10box b2 1 1 1
11
12vinit
13vdisplay b1
14vdisplay b2
15vsetlocation b2 10 10 10
16vfit
17
18set listmem {}
19
20set i_max 3
21for {set i 1} {${i} <= ${i_max}} {incr i} {
22 vfps 1000
23 lappend listmem [meminfo h]
24 checktrend $listmem 0 1 "Memory leak detected"
25}
26
27vdump ${imagedir}/${casename}.png