MantisBT - Open CASCADE
View Issue Details
0029140Open CASCADE[OCCT] OCCT:Samplespublic2017-09-25 16:382018-06-29 21:21
apn 
bugmaster 
normalminor 
closedfixed 
[OCCT] 7.2.0 
[OCCT] 7.3.0[OCCT] 7.3.0 
Not needed
0029140: Samples - Viewer is not updated in MFC Modeling and Viewer3D samples
Viewer is not updated after erasing objects (button Erase) and operation Common (button Common) in mfc Modeling sample.
The same problem is in Viewer3D mfc sample after drawing sphere (button Sphere).
To update viewer it's necessary to click in the window.
launch mfc modeling
create any object and select it
click Erase

launch mfc viewer3d
create sphere
No tags attached.
child of 0028088closed kgv Visualization, AIS_InteractiveContext - drop default value for Update Viewer parameter 
Issue History
2017-09-25 16:38apnNew Issue
2017-09-25 16:38apnAssigned To => bugmaster
2017-09-25 16:38apnStatusnew => assigned
2017-09-25 16:43apnTest case number => Not needed
2017-09-26 14:56bugmasterProjectOCCT => Open CASCADE
2018-03-15 18:00gitNote Added: 0074510
2018-03-15 18:02bugmasterNote Added: 0074511
2018-03-15 18:02bugmasterAssigned Tobugmaster => kgv
2018-03-15 18:02bugmasterStatusassigned => resolved
2018-03-15 18:03bugmasterTarget Version7.4.0 => 7.3.0
2018-03-15 22:06gitNote Added: 0074516
2018-03-15 22:07kgvSummaryViewer is not updated in MFC Modeling and Viewer3D samples => Samples - Viewer is not updated in MFC Modeling and Viewer3D samples
2018-03-15 22:09gitNote Added: 0074517
2018-03-15 22:11kgvNote Added: 0074518
2018-03-15 22:11kgvAssigned Tokgv => bugmaster
2018-03-15 22:11kgvStatusresolved => reviewed
2018-03-15 22:11kgvNote Edited: 0074518bug_revision_view_page.php?bugnote_id=74518#r18737
2018-03-16 00:03kgvRelationship addedchild of 0028088
2018-03-16 14:20bugmasterStatusreviewed => tested
2018-03-18 13:21bugmasterChangeset attached => occt master 50c47573
2018-03-18 13:21bugmasterStatustested => verified
2018-03-18 13:21bugmasterResolutionopen => fixed
2018-03-19 10:05gitNote Added: 0074594
2018-03-19 10:05gitNote Added: 0074595
2018-06-29 21:16aivFixed in Version => 7.3.0
2018-06-29 21:21aivStatusverified => closed

Notes
(0074510)
git   
2018-03-15 18:00   
Branch CR29140 has been created by inv.

SHA-1: 47a176931abdcfb1f2716682eadd7f189b452e9d


Detailed log of new commits:

Author: bugmaster
Date: Thu Mar 15 18:00:29 2018 +0300

    0029140: Viewer is not updated in MFC Modeling and Viewer3D samples
(0074511)
bugmaster   
2018-03-15 18:02   
Kirill,

Could you please revise correction
(0074516)
git   
2018-03-15 22:06   
Branch CR29140 has been updated by kgv.

SHA-1: 1bad08f3b01858e6bc6b546c939fcc8d864d5cfa


Detailed log of new commits:

Author: kgv
Date: Thu Mar 15 22:06:35 2018 +0300

    OCC_3dBaseDoc::OnUpdateObjectDisplayall() - allow re-displaying hidden presentation of non-Shape types.
    OCC_3dBaseDoc::OnObjectErase() - removed redundant call AIS_InteractiveContext::ClearSelected().
    
    CModelingDoc::OnFuse(),::OnCommon(),::OnExplorer() - removed redundant
    viewer updates and add missing ones.

(0074517)
git   
2018-03-15 22:09   
Branch CR29140_1 has been created by kgv.

SHA-1: 64f9742f023ed5bcff89f6a9c3ea126fe26fc558


Detailed log of new commits:

Author: inv
Date: Thu Mar 15 18:00:29 2018 +0300

    0029140: Samples - Viewer is not updated in MFC Modeling and Viewer3D samples
    
    OCC_3dBaseDoc::OnUpdateObjectDisplayall() - allow re-displaying hidden presentation of non-Shape types.
    OCC_3dBaseDoc::OnObjectErase() - removed redundant call AIS_InteractiveContext::ClearSelected().
    
    CModelingDoc::OnFuse(),::OnCommon(),::OnExplorer() - removed redundant
    viewer updates and add missing ones.
(0074518)
kgv   
2018-03-15 22:11   
I've have not found the patch fixing operation Common - the Viewer still was not updated at the end of demonstration.
The patch has been updated to fix this issue and couple of others similar.

(0074594)
git   
2018-03-19 10:05   
Branch CR29140 has been deleted by kgv.

SHA-1: 1bad08f3b01858e6bc6b546c939fcc8d864d5cfa
(0074595)
git   
2018-03-19 10:05   
Branch CR29140_1 has been deleted by kgv.

SHA-1: 64f9742f023ed5bcff89f6a9c3ea126fe26fc558