DiscussionsIssue archiveOCCT:Visualization

Archived issue #0032180

Visualization - StdSelect_BRepOwner::SetLocation() does not update selected sub-shape

Open CASCADEOCCT:Visualizationclosed7 public notes

Search issues

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.

01Commenter 3
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.
02Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
03Author
Patch is ready for review
- OCCT: branch CR32180.

http://jenkins-test-12.nnov.opencascade.com/view/CR32180-master-KGV/
04Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
05Commenter 6
The patch was reviewed
06Commenter 1
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
07Commenter 3
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records