Fix compiler warnings related to issue 957.
This commit is contained in:
@@ -369,14 +369,13 @@ struct Material
|
||||
{
|
||||
//! Default constructor. Builds a default name for the material
|
||||
Material()
|
||||
:
|
||||
mDiffuse (0.6,0.6,0.6), // FIX ... we won't want object to be black
|
||||
mSpecularExponent (0.0),
|
||||
mShininessStrength (1.0),
|
||||
mShading(Discreet3DS::Gouraud),
|
||||
mTransparency (1.0),
|
||||
mBumpHeight (1.0),
|
||||
mTwoSided (false)
|
||||
: mDiffuse ( ai_real( 0.6 ), ai_real( 0.6 ), ai_real( 0.6 ) ) // FIX ... we won't want object to be black
|
||||
, mSpecularExponent ( ai_real( 0.0 ) )
|
||||
, mShininessStrength ( ai_real( 1.0 ) )
|
||||
, mShading(Discreet3DS::Gouraud)
|
||||
, mTransparency ( ai_real( 1.0 ) )
|
||||
, mBumpHeight ( ai_real( 1.0 ) )
|
||||
, mTwoSided (false)
|
||||
{
|
||||
static int iCnt = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user