mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Shape location overriding fixed by combining AIS object transformation and shape location. Also incorrect highlight presentation (and sensitive) placement was possible.
25 lines
552 B
Plaintext
25 lines
552 B
Plaintext
puts "================"
|
|
puts "OCC25335"
|
|
puts "================"
|
|
puts ""
|
|
#######################################################################################
|
|
# Visualization - method ::SelectedShape() in AIS_LocalContext and AIS_InteractiveContext overrides shape transformation
|
|
#######################################################################################
|
|
|
|
vinit
|
|
|
|
box b 1 1 1
|
|
vdisplay b
|
|
btranslate b 1 0 0
|
|
vselmode 2 1
|
|
vfit
|
|
vselect 299 352
|
|
vpickselected
|
|
vsetlocation b 0 1 0
|
|
vzfit
|
|
vselect 233 188
|
|
vpickselected
|
|
vsetlocation b -2 2 0
|
|
vfit
|
|
|