View Issue Details

IDProjectCategoryView StatusLast Update
0027940Open CASCADEOCCT:Visualizationpublic2017-05-12 11:21
ReporteribsAssigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
PlatformWindowsOSWindows 
Product Version7.0.0 
Target Version7.2.0 
Summary0027940: Visualization - AIS_InteractiveContext::SelectedShape() returns a not persistent shape
DescriptionEach time AIS_InteractiveContext::SelectedShape() has different TopLoc_Location instance
Steps To ReproducemyContext->InitSelected();
if (myContext->HasSelectedShape())
{
  TopoDS_Shape aShape = myContext->SelectedShape();
  if (myContext->SelectedShape() != aShape)
  {
    // being returned selected shape is not persistent
  }
}
TagsNo tags attached.
Test case number

Activities

ibs

2016-10-07 17:16

developer   ~0058485

Last edited: 2016-10-07 17:17

i cann't reproduce the issue in the DRAW. if i do, i'll assign it

git

2016-10-07 17:18

administrator   ~0058486

Branch CR27940 has been created by ibs.

SHA-1: 2d715158c4cf0a30faf3d899d65f9892c7515245


Detailed log of new commits:

Author: ibs
Date: Fri Oct 7 16:31:16 2016 +0300

    0027940: Visualization - AIS_InteractiveContext::SelectedShape() returns a not persistent shape
    
    a test case was added

kgv

2016-10-10 10:12

developer   ~0058514

Last edited: 2016-10-10 10:13

+box b 0 0 -100 100 90 10

The test case is irrelevant to the bug, because it does not imply any local transformations (TopLoc_Location and others).
The model as1-oc-214.stp, where problem occurs, has several nested transformations, which are applied to the presentation (e.g. not pre-multiplied to triangulation itself).

git

2016-10-10 13:51

administrator   ~0058520

Branch CR27940 has been updated forcibly by ibs.

SHA-1: b0f4fe71a21d44f95e97dda844be5f75af0f6604

kgv

2017-04-19 16:38

developer   ~0065352

Dear bugmaster,

please close the issue - current behavior is expected,
using AIS_InteractiveContext::SelectedShape() should be avoided by applications.

git

2017-05-12 11:21

administrator   ~0065873

Branch CR27940 has been deleted by kgv.

SHA-1: b0f4fe71a21d44f95e97dda844be5f75af0f6604

Issue History

Date Modified Username Field Change
2016-10-07 15:17 ibs New Issue
2016-10-07 15:17 ibs Assigned To => vpa
2016-10-07 17:16 ibs Assigned To vpa => ibs
2016-10-07 17:16 ibs Note Added: 0058485
2016-10-07 17:17 ibs Note Edited: 0058485
2016-10-07 17:17 ibs Note Edited: 0058485
2016-10-07 17:18 git Note Added: 0058486
2016-10-10 10:12 kgv Note Added: 0058514
2016-10-10 10:12 kgv Note Edited: 0058514
2016-10-10 10:13 kgv Note Edited: 0058514
2016-10-10 13:51 git Note Added: 0058520
2016-10-25 09:27 kgv Target Version 7.1.0 => 7.2.0
2016-11-11 11:08 kgv Severity major => minor
2017-01-30 16:50 kgv Assigned To ibs => kgv
2017-04-19 16:38 kgv Note Added: 0065352
2017-04-19 16:38 kgv Assigned To kgv => bugmaster
2017-04-19 16:38 kgv Status new => feedback
2017-04-19 16:38 kgv Resolution open => no change required
2017-04-20 10:14 bugmaster Status feedback => closed
2017-05-12 11:21 git Note Added: 0065873