mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0025335: Visualization - method ::SelectedShape() in AIS_LocalContext and AIS_InteractiveContext overrides shape transformation
Shape location overriding fixed by combining AIS object transformation and shape location. Also incorrect highlight presentation (and sensitive) placement was possible.
This commit is contained in:
24
tests/bugs/vis/bug25335
Normal file
24
tests/bugs/vis/bug25335
Normal file
@@ -0,0 +1,24 @@
|
||||
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
|
||||
|
Reference in New Issue
Block a user