1
0
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:
duv
2014-10-08 13:01:51 +04:00
committed by bugmaster
parent de6f281fe9
commit d81101039f
5 changed files with 89 additions and 15 deletions

24
tests/bugs/vis/bug25335 Normal file
View 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