1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/vis/bug2066
dbv eb4320f2d9 0023654: Problem with displaying vertices in OCC view after closing all OCC views and opening new one
Fixed graphic structure recompute after closing view.
Removed collector and all corresponding logic and methods from AIS_InteractiveContext.
Method AIS_InteractiveContext::Erase() now hide object from viewer without deleting resources.
Erased objects now properly recomputed after closing view.
Samples update
Removed useless method AIS_InteractiveContext::EraseMode()
Documentation update
Warnings fix
Regressions fix
2013-10-03 14:12:16 +04:00

24 lines
516 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"
}
set only_screen 1