1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/vis/bug16950_4
2013-02-01 17:32:08 +04:00

30 lines
570 B
Plaintext
Executable File

puts "==========="
puts "OCC16950"
puts "==========="
######################################################
# OCC Visualization fails to display empty nested compounds
######################################################
pload DCAF
set BugNumber OCC16950
puts "Make compound containing another (empty) one"
compound c
compound c result
pload XDE
puts "Add it to the new XCAF document"
NewDocument D
XAddShape D result
puts "Then display it"
XShow D
# Resume
if [catch { vsetdispmode 2 } res] {
puts "Faulty ${BugNumber}"
} else {
puts "OK ${BugNumber}"
}