mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
Fix for '#18490 GEOM build fail with master branch' issue.
This commit is contained in:
parent
d07a864e83
commit
63cf6cca2e
@ -569,7 +569,7 @@ Graphic3d_MaterialAspect Material_Model::getMaterialOCCAspect( bool theIsFront )
|
||||
#else
|
||||
if ( color( Ambient ).isValid() ) {
|
||||
c = color( Ambient );
|
||||
aspect.SetAmbientColor( ( c.redF(), c.greenF(), c.blueF(), Quantity_TOC_RGB ) );
|
||||
aspect.SetAmbientColor( Quantity_Color( c.redF(), c.greenF(), c.blueF(), Quantity_TOC_RGB ) );
|
||||
}
|
||||
aspect.SetAmbient( reflection( Ambient, theIsFront ));
|
||||
if ( hasReflection( Ambient ) )
|
||||
|
Loading…
Reference in New Issue
Block a user