1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-26 10:19:45 +03:00
kgv 64e2d3bd71 0023234: Incorrect behavior of AIS_Trihedron
AIS_InteractiveContext::myLocalContexts map accessed before newly created AIS_LocalContext bound to it
Minor remarks: comments revised.
Adding test case
Adding new draw command
Small correction of tests
2012-10-05 14:06:32 +04:00

34 lines
571 B
Plaintext
Executable File

if { [isdraw result] } {
if { [info exists 2dviewer] } {
clear
smallview
donly result
fit
xwd $imagedir/${test_image}.gif
}
if { [info exists 3dviewer] } {
vinit
vclear
vdisplay result
vsetdispmode 1
vfit
vdump $imagedir/${test_image}.gif
}
} else {
if { [info exists 3dviewer] } {
if { ${3dviewer} == 2 } {
vdump $imagedir/${test_image}.gif
}
}
}
if { [info exist only_xwd] } {
xwd $imagedir/${test_image}.gif
}
#} else {
# puts "Error : The command can not be build."
#}
# to end a test script
puts "TEST COMPLETED"