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

0028310: Visualization - crash on iteration through detected interactive objects

AIS_InteractiveContext::Remove (anIObj, ...) removes object from sequence of detected owners.
Therefore further iteration on detected will not require updating this list with ::MoveTo().
Additional modification includes incrementing properly the iterator of CurrentDetectedObject
and resets iterator of Highlighted detected objects, because nothing is really highlighted after that.
This commit is contained in:
apl
2017-01-18 14:20:51 +03:00
committed by apn
parent c5ec75471a
commit f2a88e54e8
3 changed files with 74 additions and 3 deletions

14
tests/bugs/vis/bug28310 Normal file
View File

@@ -0,0 +1,14 @@
puts "==========="
puts "OCC28310"
puts "==========="
puts ""
##########################################################################
# Visualization - crash on iteration through detected interactive objects
##########################################################################
pload VISUALIZATION QAcommands
vinit View1
# Sequence of C++ commands crashes the application
OCC28310