From e0cbd92da4c9bcaed287bc2998948eecbb1f5d63 Mon Sep 17 00:00:00 2001 From: Turo Lamminen <turotl@gmail.com> Date: Sat, 27 Jan 2018 18:34:04 +0200 Subject: [PATCH] ASE: Delete BaseNode constructor which doesn't take name --- code/ASEParser.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/code/ASEParser.h b/code/ASEParser.h index 8d0db71e0..7c8e1b158 100644 --- a/code/ASEParser.h +++ b/code/ASEParser.h @@ -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) -- GitLab