3DS: Delete Node default constructor

pull/1745/head
Turo Lamminen 2018-01-27 17:35:44 +02:00
parent 0d69b15238
commit 3f377e11f5
1 changed files with 1 additions and 19 deletions

View File

@ -549,25 +549,7 @@ struct aiFloatKey
/** Helper structure to represent a 3ds file node */ /** Helper structure to represent a 3ds file node */
struct Node struct Node
{ {
Node() Node() = delete;
: mParent(NULL)
, mInstanceNumber(0)
, mHierarchyPos (0)
, mHierarchyIndex (0)
, mInstanceCount (1)
{
static int iCnt = 0;
// Generate a default name for the node
char szTemp[128];
::ai_snprintf(szTemp, 128, "UNNAMED_%i",iCnt++);
mName = szTemp;
aRotationKeys.reserve (20);
aPositionKeys.reserve (20);
aScalingKeys.reserve (20);
}
explicit Node(const std::string &name) explicit Node(const std::string &name)
: mParent(NULL) : mParent(NULL)