Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0032501Community[OCCT] OCCT:Visualizationpublic2021-07-29 19:562021-10-08 00:11
Assigned Tokgv 
PlatformWindowsOSVC++ 2015OS Version64 bit
Product Version[OCCT] 7.5.1 
Target VersionFixed in Version 
Summary0032501: Visualization - Show/Hide on Parent/Child is not working properly
DescriptionWhen an AIS_Object is created with a child object with AIS_InteractiveContext::Display(rShape, rShape->DisplayMode(), 0, Standard_False, DisplayStatus);
then when recursively hiding the parent AIS_Object does not work the first time. After re-showing it and re-hiding it, it works as expected.
Strangely replacing "rShape->DisplayMode()" by "1" makes it also works as expected
Steps To ReproduceSee attached MFC demo-project
1) Run and click in menu on Thorus->Add directly
2) Click in menu on Thorus->Hide All => nothing happens
3) Click in menu on Thorus->Show All
4) Click again in menu on Thorus->Hide All => now the Thorus dissappears

In the example code the problem is also illustrated:
Problem: GetThorus(true /*bool bAttachToPoint:set to true to show problem*/);
Problem: GetThorus(false/*bool bAttachToPoint:no problem*/);
TagsNo tags attached.
Test case number
Attached Fileszip file icon (241,031 bytes) 2021-07-29 19:56

- Relationships

-  Notes
kgv (developer)
2021-10-08 00:11

Have you checked scenario on OCCT 7.6.0 beta?

- Issue History
Date Modified Username Field Change
2021-07-29 19:56 ctech New Issue
2021-07-29 19:56 ctech Assigned To => kgv
2021-07-29 19:56 ctech File Added:
2021-07-30 22:40 kgv Summary Show/Hide on Parent/Child is not working properly => Visualization - Show/Hide on Parent/Child is not working properly
2021-10-08 00:11 kgv Relationship added related to 0031794
2021-10-08 00:11 kgv Note Added: 0104535

Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker