Archived issue #0032180
Visualization - StdSelect_BRepOwner::SetLocation() does not update selected sub-shape
Description
AIS_InteractiveContext::SetLocation() updates dynamic highlighting, but does not update selected sub-shapes.
Steps to reproduce
pload MODELING VISUALIZATION
box b 1 2 3
vclear
vinit View1
vpoint p0 0 0 0
vpoint p1 3 3 3
vfit
vdisplay -dispMode 1 -hiMode 1 b
vselmode b FACE 1
vselect 50 200
vmoveto 50 100
vlocation b -location 2 0 0
if { [vreadpixel 50 200 -rgb -name] != "BLACK" } { puts "Error: wrong color" }
Also test case v3d/dimensions/offset.
Public activity
7 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Sat Feb 27 10:48:32 2021 +0300
0032180: Visualization - StdSelect_BRepOwner::SetLocation() does not update selected sub-shape
StdSelect_BRepOwner::SetLocation() now propagates location to sub-shape presentation instead of invalidating it.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Sat Feb 27 10:48:32 2021 +0300
0032180: Visualization - StdSelect_BRepOwner::SetLocation() does not update selected sub-shape
StdSelect_BRepOwner::SetLocation() now propagates location to sub-shape presentation instead of invalidating it.
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Patch is ready for review
- OCCT: branch CR32180.
http://jenkins-test-12.nnov.opencascade.com/view/CR32180-master-KGV/
- OCCT: branch CR32180.
http://jenkins-test-12.nnov.opencascade.com/view/CR32180-master-KGV/
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
The patch was reviewed
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.
Number of compiler warnings:
No new/fixed warnings
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17744.80000000016 / 17811.87000000015 [-0.38%]
Products
Total CPU difference: 11539.9800000001 / 11543.6500000001 [-0.03%]
Windows-64-VC14:
OCCT
Total CPU difference: 19321.640625 / 19344.390625 [-0.12%]
Products
Total CPU difference: 12868.796875 / 12900.578125 [-0.25%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.
Number of compiler warnings:
No new/fixed warnings
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17744.80000000016 / 17811.87000000015 [-0.38%]
Products
Total CPU difference: 11539.9800000001 / 11543.6500000001 [-0.03%]
Windows-64-VC14:
OCCT
Total CPU difference: 19321.640625 / 19344.390625 [-0.12%]
Products
Total CPU difference: 12868.796875 / 12900.578125 [-0.25%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Related records
- #0026960 · related to · closedVisualization, TKOpenGl - update transformation of dynamically highlighted presentation
- #0022368 · related to · closedAIS_Trihedron's highlight presentation isn't updated on trihedron relocation
- #0027986 · child of · closedVisualization - AIS_InteractiveContext::SetLocation() does not update dynamic highlighting