MantisBT - Open CASCADE
View Issue Details
0031197Open CASCADE[OCCT] OCCT:Visualizationpublic2019-11-26 14:362020-02-13 00:48
nds 
nds 
normalmajor 
newopen 
 
[OCCT] 7.5.0* 
0031197: Visualization - SetTransformPersistence for highlight, select presentations
SetTransformPersistence should be redefined in SelectMgr_SelectableObject to update state of transform persistent in highlight, select presentations if the presentations have been already created.

Also, it's proposed to redefine this method in AIS_InteractiveObject. The proposed functionality is:
1. calling the parent method,
2. after it, performing the functionality of AIS_InteractiveContext::SetTransformPersistent for updating internal context selection/graphical structures automatically. If we forget doing this (moreover there is no a separate method in context with this functionality), the object stays in wrong myObjects container of SelectMgr_SelectableObjectSet. This problem is pretty difficult to predict and discover.
No tags attached.
related to 0030218closed apn Visualization - custom selection presentation is not updated within SelectMgr_SelectableObject::UpdateTransformation() 
Issue History
2019-11-26 14:36ndsNew Issue
2019-11-26 14:36ndsAssigned To => nds
2019-11-26 15:20kgvRelationship addedrelated to 0030218
2019-12-05 17:15ndsSeverityminor => major
2019-12-05 17:15ndsDescription Updatedbug_revision_view_page.php?rev_id=22304#r22304
2019-12-05 17:17gitNote Added: 0089394
2019-12-08 22:30kgvNote Added: 0089453
2019-12-08 22:30kgvNote Edited: 0089453bug_revision_view_page.php?bugnote_id=89453#r22318
2020-02-13 00:48gitNote Added: 0090505

Notes
(0089394)
git   
2019-12-05 17:17   
Branch CR31197 has been created by nds.

SHA-1: df3644aa354c932483d89f553b09a2f399135f0f


Detailed log of new commits:

Author: nds
Date: Thu Dec 5 17:15:09 2019 +0300

    0031197: Visualization - SetTransformPersistence for highlight, select presentations
(0089453)
kgv   
2019-12-08 22:30   
Please also provide steps to reproduce (at least in form of pseudo code), as for now it is unclear what kind of scenario patch should fix.

(0090505)
git   
2020-02-13 00:48   
Branch CR31197_1 has been created by nds.

SHA-1: 33ffefa2f7c052225012dde159c5001a3cc73ea5


Detailed log of new commits:

Author: nds
Date: Thu Dec 5 17:15:09 2019 +0300

    0031197: Visualization - SetTransformPersistence for highlight, select presentations
    
    (cherry picked from commit df3644aa354c932483d89f553b09a2f399135f0f)