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