ASE: Delete BaseNode constructor which doesn't take name

pull/1745/head
Turo Lamminen 2018-01-27 18:34:04 +02:00
parent 4b20e9712c
commit e0cbd92da4
1 changed files with 0 additions and 16 deletions

View File

@ -248,22 +248,6 @@ struct BaseNode
{
enum Type {Light, Camera, Mesh, Dummy} mType;
//! Constructor. Creates a default name for the node
explicit BaseNode(Type _mType)
: mType (_mType)
, mProcessed (false)
{
// generate a default name for the node
static int iCnt = 0;
char szTemp[128]; // should be sufficiently large
::ai_snprintf(szTemp, 128, "UNNAMED_%i",iCnt++);
mName = szTemp;
// Set mTargetPosition to qnan
const ai_real qnan = get_qnan();
mTargetPosition.x = qnan;
}
//! Construction from an existing name
BaseNode(Type _mType, const std::string &name)