MantisBT - Open CASCADE
View Issue Details
0027573Open CASCADE[OCCT] OCCT:Visualizationpublic2016-06-06 17:292016-12-09 16:38
oan 
bugmaster 
normalfeature 
closedfixed 
 
[OCCT] 7.1.0[OCCT] 7.1.0 
bugs vis bug27573
0027573: AIS_ColorScale::FindColor does not take into account custom colors
AIS_ColorScale::FindColor(theValue, theColor) calls static method FindColor, so even if user set custom colors for intervals, FindColor returns value corresponded to "auto" color.
test bugs vis bug27573
No tags attached.
Issue History
2016-06-06 17:29oanNew Issue
2016-06-06 17:29oanAssigned To => kgv
2016-08-01 13:03abaAssigned Tokgv => aba
2016-08-01 13:03abaStatusnew => assigned
2016-08-02 14:47gitNote Added: 0056381
2016-08-02 14:48abaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=14299#r14299
2016-08-02 14:50abaNote Added: 0056382
2016-08-02 14:50abaAssigned Toaba => kgv
2016-08-02 14:50abaStatusassigned => resolved
2016-08-02 17:45kgvNote Added: 0056397
2016-08-02 17:45kgvAssigned Tokgv => bugmaster
2016-08-02 17:45kgvSeverityminor => feature
2016-08-02 17:45kgvStatusresolved => reviewed
2016-08-02 17:59kgvAssigned Tobugmaster => aba
2016-08-02 17:59kgvStatusreviewed => assigned
2016-08-03 12:07gitNote Added: 0056423
2016-08-03 12:08abaNote Added: 0056424
2016-08-03 12:08abaAssigned Toaba => kgv
2016-08-03 12:08abaStatusassigned => resolved
2016-08-03 12:59gitNote Added: 0056431
2016-08-03 13:01kgvNote Added: 0056432
2016-08-03 13:01kgvAssigned Tokgv => bugmaster
2016-08-03 13:01kgvStatusresolved => reviewed
2016-08-03 16:14apvAssigned Tobugmaster => apv
2016-08-04 09:49apvTest case number => bugs vis bug27573
2016-08-04 10:29apvNote Added: 0056454
2016-08-04 10:29apvAssigned Toapv => bugmaster
2016-08-04 10:29apvStatusreviewed => tested
2016-08-05 13:30bugmasterChangeset attached => occt master d5514578
2016-08-05 13:30bugmasterStatustested => verified
2016-08-05 13:30bugmasterResolutionopen => fixed
2016-08-26 16:24gitNote Added: 0057167
2016-12-09 16:30aivStatusverified => closed
2016-12-09 16:38aivFixed in Version => 7.1.0

Notes
(0056381)
git   
2016-08-02 14:47   
Branch CR27573 has been created by aba.

SHA-1: 6b8253de3a712c917d8e7c12848a6bc41ea56584


Detailed log of new commits:

Author: aba
Date: Tue Aug 2 14:48:45 2016 +0300

    0027573: AIS_ColorScale::FindColor does not take into account custom colors
    
    Modified AIS_ColorScale::FindColor (Standard_Real, Quantity_Color&) to take into account custom colors
(0056382)
aba   
2016-08-02 14:50   
Dear kgv,

could you please review the branch CR27573?
(0056397)
kgv   
2016-08-02 17:45   
Please test the patch.
(0056423)
git   
2016-08-03 12:07   
Branch CR27573 has been updated by aba.

SHA-1: 4eb87f66dba19885098d324711e0f4e0324bb402


Detailed log of new commits:

Author: aba
Date: Wed Aug 3 11:47:15 2016 +0300

    Remarks:
    
    1) Changed formula for interval index computation
    2) Returned False if interval index is out of bounds

(0056424)
aba   
2016-08-03 12:08   
Dear kgv,

could you please review corrected patch in CR27573?
(0056431)
git   
2016-08-03 12:59   
Branch CR27573 has been updated forcibly by aba.

SHA-1: 8a3ef0543ca00219784c9ff271b50e8fc6e0be14
(0056432)
kgv   
2016-08-03 13:01   
Please test the patch.
(0056454)
apv   
2016-08-04 10:29   
Dear BugMaster,

Branch CR27573 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested.
SHA-1: 8a3ef0543ca00219784c9ff271b50e8fc6e0be14

Number of compiler warnings:
occt component:
   Linux: 0 (0 on master)
   Windows: 0 (0 on master)
   MasOS: 0 (0 on master)
products component:
   Linux: 64
   Windows: 0
   MacOS: 1145

Regressions/Differences:
Not detected

Testing cases:
bugs vis bug27573 - OK
http://occt-tests/CR27573-master-OCCT/Debian70-64/bugs/vis/bug27573.html [^]
http://occt-tests/CR27573-master-OCCT/Windows-64-VC10/bugs/vis/bug27573.html [^]

Testing on Linux:
Total MEMORY difference: 90346912 / 90081149 [+0.30%]
Total CPU difference: 19298.830000000067 / 19470.040000000092 [-0.88%]

Testing on Windows:
Total MEMORY difference: 57073874 / 57093912 [-0.04%]
Total CPU difference: 18410.957218198866 / 18078.831089198848 [+1.84%]
(0057167)
git   
2016-08-26 16:24   
Branch CR27573 has been deleted by inv.

SHA-1: 8a3ef0543ca00219784c9ff271b50e8fc6e0be14