Browse Source

3DS: Delete Node default constructor

Turo Lamminen 7 years ago
parent
commit
3f377e11f5
1 changed files with 1 additions and 19 deletions
  1. 1 19
      code/3DSHelper.h

+ 1 - 19
code/3DSHelper.h

@@ -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()
-    : 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);
-    }
-
+    Node() = delete;
 
 
     explicit Node(const std::string &name)
     explicit Node(const std::string &name)
     : mParent(NULL)
     : mParent(NULL)