Skip to content
Snippets Groups Projects
Commit e0cbd92d authored by Turo Lamminen's avatar Turo Lamminen
Browse files

ASE: Delete BaseNode constructor which doesn't take name

parent 4b20e971
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment