0029412: Huge Memory leak since I upgraded to OC 6.9.0
[occt.git] / tests / bugs / vis / bug23200_1
CommitLineData
4c513386 1puts "============"
2puts "CR23200"
3puts "Check that the shape doesn't have a shading presentation"
4puts "due to its triangulation isn't computed in case of disabled auto triangulation feature."
5puts "But in this case the shape should have special wireframe presentation."
6puts "============"
7puts ""
8
9vinit View1
10vclear
11vaxo
12vsetdispmode 1
13vdefaults -autoTriang off
14pcone c 0 5 10
15vdisplay c
16vfit
17
18set aColor [vreadpixel 200 77 rgb name]
19vdump $imagedir/${casename}_shape_pres.png
20
21if {"$aColor" != "GRAY75"} {
22 puts "Error: shading presentation of shape is incorrect"
23}