0029528: Visualization, TKOpenGl - allow defining sRGB textures
[occt.git] / tests / bugs / vis / bug24522
1 puts "========"
2 puts "OCC24522"
3 puts "========"
4 puts ""
5 ###########################################################################
6 # Application crashes on view closing in case of using of clipping planes
7 ###########################################################################
8
9 box b 1 1 1
10 vdisplay b
11 vfit
12 vsetdispmode b 1
13 vclipplane create p
14 vclipplane change p equation 0 0 -1 -0.5
15 vclipplane set p view Driver1/Viewer1/View1
16 vclipplane change p capping on
17 vclipplane unset p view Driver1/Viewer1/View1
18 vclose View1