MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0027865Community[OCCT] OCCT:Visualizationpublic2016-09-12 17:232017-07-20 10:48
Reportersolomin_s 
Assigned Tokgv 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformAOSLOS VersionL
Product Version[OCCT] 7.0.0 
Target Version[OCCT] 7.4.0*Fixed in Version 
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 Reproducepload ALL
box b 100 100 100
vdisplay b
vsetdispmode 0
vconnect cb 100 100 200 b
vsetdispmode cb 1
fit
vselmode cb 4 1
vselect 300 150 #select face of cb
TagsNo tags attached.
Test case number
Attached Filespng file icon Screenshot from 2016-09-12 17:24:17.png (8,429 bytes) 2016-09-12 17:24

- Relationships
related to 0027866newkgv Invalid AIS_MultipleConnectedInteractive object detecting. 

-  Notes
There are no notes attached to this issue.

- 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*


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker