mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
- picked or selected objects are now highlighted via owners instead of interactive objects; - support methods for owners were added to AIS_InteractiveContext; - dynamically highlighted owners are now displayed in immediate mode; - selection without opening of local context is enabled by default; - added "-local" key to vselmode command to enable selection in local context; - selection filters are now completely supported in AIS_InteractiveContext; - the idea of differencing of selected items onto current (in interactive context) and selected (local selection) was eliminated; - all calls to "current" were replaced by calls to "selected" in terms of future local context removal; - AIS_InteractiveObject::mySelectionMode was removed; - now each selectable object can define own selection mode for "global" selection of the whole object; - whole object selection mode is 0 by default for all standard interactive objects; - immediate structures are now added to topmost and top layer lists; - added support of drawing immediate structures in different layers; - unused code for immediate mode was removed; - vfeedback and vexport commands now produce correct output for raytrace mode.
26 lines
744 B
Plaintext
26 lines
744 B
Plaintext
puts "============"
|
|
puts "OCC25528"
|
|
puts "============"
|
|
puts ""
|
|
####################################################################################
|
|
# Visualization - Exception on removing an interactive object from
|
|
# a local context
|
|
# vremove -local <obj_name> crashes if there is an opened local context
|
|
####################################################################################
|
|
|
|
pload ALL
|
|
box b 1 2 3
|
|
vinit
|
|
vdisplay b
|
|
vfit
|
|
|
|
# opening a local context for local selection
|
|
vselmode b 4 1 -local
|
|
# Select a face just to simulate the scenario used in a real application
|
|
vselect 200 200
|
|
# This line should not lead to exception
|
|
vremove -local b
|
|
|
|
# Screenshot should be empty (box removed successfully)
|
|
vdump ${imagedir}/${casename}.png
|