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:
28
tests/bugs/vis/bug24391
Normal file
28
tests/bugs/vis/bug24391
Normal 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
|
Reference in New Issue
Block a user