0029412: Huge Memory leak since I upgraded to OC 6.9.0
[occt.git] / tests / bugs / vis / bug129_2
CommitLineData
3bea4c16 1puts "================"
2puts "OCC129"
3puts "================"
4puts ""
5#######################################################################################
6# Object is not selectable in the Cascade Viewer
7######################################################################################
8
9set BugNumber OCC22129
10
11cylinder c 0 0 1 10
12trimv ct c -1e+9 1e+9
13mkface ft ct
14
15vinit
5ad8c033 16# change maximum uv parameter value in drawer to display
17# isolines correctly
18vaspects -defaults -setMaxParamValue 1e+9
3bea4c16 19vdisplay ft
20
21set x1 207
22set y1 184
23set x2 222
24set y2 175
25
26vmoveto ${x1} ${y1}
27checkcolor ${x1} ${y1} 0 1 1
28
29vselect ${x1} ${y1}
30checkcolor ${x1} ${y1} 0.8 0.8 0.8
31
32vselect ${x2} ${y2}
33checkcolor ${x1} ${y1} 1 1 0
34
5ad8c033 35# dump image, than restore default maximum parameter value
36set aViewInfo [split [vviewlist long] "/"]
37set aImgFile ${imagedir}/${casename}
38foreach aStr $aViewInfo {
39 append aImgFile "_" [string trim $aStr]
40}
41append aImgFile ".png"
42vdump $aImgFile
43
44vaspects -defaults -setMaxParamValue 500000
45vclose