MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030728Open CASCADE[OCCT] OCCT:Visualizationpublic2019-05-22 17:312019-06-05 10:02
Reporternds 
Assigned Tonds 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0030728: Visualization - using one implementation of highlight/unhighlight in context
DescriptionIt is proposed to move logic of highlight/unhighlight in two separate methods in AIS_InteractiveContext and update highlight state by using the methods only.
TagsNo tags attached.
Test case number
Attached Files

- Relationships

-  Notes
(0084552)
git (administrator)
2019-05-22 17:33

Branch CR30728 has been created by nds.

SHA-1: 36b87936acf5a89d573663b5e8d086a4a4a084d3


Detailed log of new commits:

Author: nds
Date: Wed May 22 17:33:02 2019 +0300

    0030728: Visualization - using one implementation of highlight/unhighlight in context
(0084831)
git (administrator)
2019-06-04 22:19

Branch CR30728_1 has been created by nds.

SHA-1: 32b949305614baa81e6e0c6e037d8641be739ab1


Detailed log of new commits:

Author: nds
Date: Wed May 22 17:33:02 2019 +0300

    0030728: Visualization - using one implementation of highlight/unhighlight in context
(0084834)
git (administrator)
2019-06-04 23:16

Branch CR30728_1 has been updated by nds.

SHA-1: ef29a0836580b047dfc63aafdec510ab11f7bdbe


Detailed log of new commits:

Author: nds
Date: Tue Jun 4 23:15:52 2019 +0300

    0030728: Visualization - using one implementation of highlight/unhighlight in context
    
    #compilation correction

(0084835)
git (administrator)
2019-06-04 23:20

Branch CR30728_2 has been created by nds.

SHA-1: dd23cc853300487f6e13bb929800821a099fa29a


Detailed log of new commits:

Author: nds
Date: Tue Jun 4 23:19:59 2019 +0300

    0030728: Visualization - using one implementation of highlight/unhighlight in context
(0084843)
kgv (developer)
2019-06-05 10:02

--- a/src/AIS/AIS_InteractiveContext.cxx
+++ b/src/AIS/AIS_InteractiveContext.cxx
@@ -1947,7 +1947,9 @@ void AIS_InteractiveContext::EraseGlobal (const Handle(AIS_InteractiveObject)& 
t
   }
 
   const Standard_Integer aDispMode = theIObj->HasHilightMode() ? theIObj->HilightMode() : 0;

-  unhighlightOwners (theIObj);
+  AIS_NListOfEntityOwner anOwners;
+  anOwners.Append(theIObj->GlobalSelOwner());
+  unhighlightOwners (anOwners);

I would expect this breaking #0030717 back, doesn't it?

- Issue History
Date Modified Username Field Change
2019-05-22 17:31 nds New Issue
2019-05-22 17:31 nds Assigned To => kgv
2019-05-22 17:33 git Note Added: 0084552
2019-05-22 17:35 nds Assigned To kgv => nds
2019-06-04 22:19 git Note Added: 0084831
2019-06-04 23:16 git Note Added: 0084834
2019-06-04 23:20 git Note Added: 0084835
2019-06-05 10:02 kgv Note Added: 0084843


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker