1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0024391: Erased AIS object can not be displayed in AIS_InteractiveContext after AIS_InteractiveContext::Remove(): added presentations removing after presentable object is removed from context.

vremove command was corrected. Test case was corrected.

few mistakes corrected
This commit is contained in:
aba
2013-11-28 19:50:58 +04:00
committed by abv
parent 6c7ddf00ce
commit eef7fc6447
7 changed files with 192 additions and 6 deletions

28
tests/bugs/vis/bug24391 Normal file
View File

@@ -0,0 +1,28 @@
puts "============"
puts "OCC24391"
puts "============"
puts ""
#######################################################################
# Erased AIS object can not be displayed in AIS_InteractiveContext
# after AIS_InteractiveContext::Remove
#######################################################################
pload VISUALLIZATION
vinit
box a 1 1 1
vdisplay a
verase a
vremove -context a
vdisplay a
vfit
vmoveto 204 205
set x_coord 204
set y_coord 205
checkcolor $x_coord $y_coord 0 1 1
if { $stat != 1 } {
puts "Error : Erased object is not displayed after its removing."
}
set only_screen 1