View Issue Details

IDProjectCategoryView StatusLast Update
0025391CommunityOCCT:Visualizationpublic2014-11-12 09:54
ReporterPawel Assigned ToPawel  
PrioritynormalSeverityminor 
Status closedResolutionduplicate 
Target Version6.8.0 
Summary0025391: Graphic3d_MaterialAspect: getting/setting color discrepancy.
DescriptionGraphic3d_MaterialAspect::SetColor stores the provided color in 'myDiffuseColor' variable and modifes 'myAmbientColor' using a hard-coded coefficient.

Graphic3d_MaterialAspect::Color() returns the value of 'myAmbientColor'.

If an application relies on the combination of SetColor() / Color() calls undesired effects would occur therefore I suggest to return 'myDiffuseColor' in Graphic3d_MaterialAspect::Color().
TagsNo tags attached.
Test case number

Relationships

duplicate of 0025349 closedbugmaster Open CASCADE Graphic3d_MaterialAspect::Color() returns a value different from that set by the method Graphic3d_MaterialAspect::SetColor 

Activities

git

2014-10-17 15:55

administrator   ~0033262

Branch CR25391 has been created by Pawel.

SHA-1: fd51dead8a4567e513e7c67ddb6b36856c47fc7a


Detailed log of new commits:

Author: Pawel
Date: Fri Oct 17 13:55:16 2014 +0200

    Graphic3d_MaterialAspect::Color() returns the value of 'myDiffuseColor' in order to be consistent with Graphic3d_MaterialAspect::SetColor.

Pawel

2014-10-17 15:57

developer   ~0033263

CR25391 has been pushed. Please review.

kgv

2014-10-17 16:00

developer   ~0033265

Dear Pawel,

the issue is duplicate of 0025349, which has already waiting for testing the similar patch.

kgv

2014-10-17 16:01

developer   ~0033266

Dear bugmaster,

please close the issue as duplicate.

git

2014-11-12 09:54

administrator   ~0034328

Branch CR25391 has been deleted by inv.

SHA-1: fd51dead8a4567e513e7c67ddb6b36856c47fc7a

Issue History

Date Modified Username Field Change
2014-10-17 15:51 Pawel New Issue
2014-10-17 15:51 Pawel Assigned To => Pawel
2014-10-17 15:55 git Note Added: 0033262
2014-10-17 15:57 Pawel Note Added: 0033263
2014-10-17 15:57 Pawel Assigned To Pawel => kgv
2014-10-17 15:57 Pawel Status new => resolved
2014-10-17 15:58 kgv Relationship added duplicate of 0025349
2014-10-17 16:00 kgv Note Added: 0033265
2014-10-17 16:01 kgv Note Added: 0033266
2014-10-17 16:01 kgv Assigned To kgv => bugmaster
2014-10-17 16:01 kgv Status resolved => feedback
2014-10-17 16:01 kgv Resolution open => duplicate
2014-10-17 16:01 kgv Product Version 6.8.0 =>
2014-10-20 12:38 bugmaster Status feedback => closed
2014-10-20 12:38 bugmaster Assigned To bugmaster => Pawel
2014-11-12 09:54 git Note Added: 0034328