ASE: Delete Light default constructor

pull/1745/head
Turo Lamminen 2018-01-27 18:19:44 +02:00
parent 4fd791796c
commit 039ca38542
1 changed files with 2 additions and 11 deletions

View File

@ -358,17 +358,8 @@ struct Light : public BaseNode
DIRECTIONAL
};
//! Constructor.
Light()
: BaseNode (BaseNode::Light)
, mLightType (OMNI)
, mColor (1.f,1.f,1.f)
, mIntensity (1.f) // light is white by default
, mAngle (45.f)
, mFalloff (0.f)
{
}
//! Default constructor has been deleted
Light() = delete;
//! Construction from an existing name
explicit Light(const std::string &name)