mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0024522: Application crashes on view closing in case of using of clipping planes
Test-case for issue #24522
This commit is contained in:
parent
5adae760bf
commit
fd175e093d
18
tests/bugs/vis/bug24522
Normal file
18
tests/bugs/vis/bug24522
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
puts "========"
|
||||||
|
puts "OCC24522"
|
||||||
|
puts "========"
|
||||||
|
puts ""
|
||||||
|
###########################################################################
|
||||||
|
# Application crashes on view closing in case of using of clipping planes
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
box b 1 1 1
|
||||||
|
vdisplay b
|
||||||
|
vfit
|
||||||
|
vsetdispmode b 1
|
||||||
|
vclipplane create p
|
||||||
|
vclipplane change p equation 0 0 -1 -0.5
|
||||||
|
vclipplane set p view Driver1/Viewer1/View1
|
||||||
|
vclipplane change p capping on
|
||||||
|
vclipplane unset p view Driver1/Viewer1/View1
|
||||||
|
vclose View1
|
Loading…
x
Reference in New Issue
Block a user