mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
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
24 lines
516 B
Plaintext
Executable File
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
|
|
|