1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/vis/bug2066
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

24 lines
560 B
Plaintext
Executable File

puts "================"
puts "OCC2066"
puts "================"
puts ""
#######################################################################################
# CRASH in AIS_InteractiveContext::PurgeViewer(const Handle(V3d_Viewer)& Vwr)
#######################################################################################
box b 10 10 10
box b2 20 20 20 10 10 10
vinit
vdisplay b b2
vfit
verase b
if [catch {vpurgedisplay} result] {
puts "Faulty OCC2066"
} else {
puts "OK OCC2066"
}
checkview -screenshot -3d -path ${imagedir}/${test_image}.png