View Issue Details

IDProjectCategoryView StatusLast Update
0027865CommunityOCCT:Visualizationpublic2021-03-20 14:09
Reportersolomin_s Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionunable to reproduce 
PlatformAOSL 
Product Version7.0.0 
Target Version7.4.0Fixed in Version7.4.0 
Summary0027865: Invalid face selection for MultipleConnectedInteractive with exteranal setted display mode.
DescriptionIf face of AIS_MultipleConnectedInteractive has been selected, the wireframe of object will be displayd. It's reproduced when diplay mode of AIS_InteractiveContext has been setted to Wireframe, but object's display mode is shading.
The root cause of such behavior is displaying AIS_ConnectedInteractive stored by AIS_MultipleConnectedInteractive.

void AIS_InteractiveContext::SetSelected (const Handle(SelectMgr_EntityOwner)& theOwner, const Standard_Boolean theToUpdateViewer)
{
  // some code

  if (!myObjects.IsBound (anObject))
    Display (anObject, Standard_False);

  // some code
}

This code seems usefull if selected object is not displayed, but is it possible?

It work "correctly" (visually) if "real" AIS_IO's display mode equal context display mode only.

See also AIS_InteractiveContext::GetDefModes, which return context display mode instead of real display mode.
Steps To Reproduce
pload MODELING VISUALIZATION
box b 100 100 100
vdisplay b
vsetdispmode 0
vconnect cb 100 100 200 b
vsetdispmode cb 1
vfit
vselmode cb 4 1
vselect 300 150 #select face of cb
TagsNo tags attached.
Test case number

Attached Files

  • Screenshot from 2016-09-12 17:24:17.png (8,429 bytes)

Relationships

related to 0027866 newvpozdyayev Visualization - Invalid AIS_MultipleConnectedInteractive object detecting. 

Activities

solomin_s

2016-09-12 17:24

developer  

Screenshot from 2016-09-12 17:24:17.png (8,429 bytes)

kgv

2021-03-02 15:42

developer   ~0099292

Dear bugmaster,

please close the issue as non-reproducible since OCCT 7.4.0 - seems to be fixed by some other change.

Issue History

Date Modified Username Field Change
2016-09-12 17:23 solomin_s New Issue
2016-09-12 17:23 solomin_s Assigned To => kgv
2016-09-12 17:24 solomin_s File Added: Screenshot from 2016-09-12 17:24:17.png
2016-09-12 20:12 kgv Relationship added related to 0027866
2016-10-25 09:31 kgv Target Version 7.1.0 => 7.2.0
2017-07-20 10:48 kgv Target Version 7.2.0 => 7.4.0
2019-09-04 12:48 abv Target Version 7.4.0 => 7.5.0
2020-08-28 14:42 kgv Target Version 7.5.0 => 7.6.0
2021-03-02 15:42 kgv Note Added: 0099292
2021-03-02 15:42 kgv Assigned To kgv => bugmaster
2021-03-02 15:42 kgv Resolution open => unable to reproduce
2021-03-02 15:42 kgv Fixed in Version => 7.4.0
2021-03-02 15:42 kgv Target Version 7.6.0 => 7.4.0
2021-03-02 15:42 kgv Steps to Reproduce Updated
2021-03-02 15:42 kgv Status new => feedback
2021-03-20 14:09 bugmaster Status feedback => closed