3DS: Delete Mesh default constructor

pull/1745/head
Turo Lamminen 2018-01-27 17:17:31 +02:00
parent 93fa373206
commit 8c219c7bd1
1 changed files with 2 additions and 11 deletions

View File

@ -494,17 +494,8 @@ struct Material
/** Helper structure to represent a 3ds file mesh */
struct Mesh : public MeshWithSmoothingGroups<D3DS::Face>
{
//! Default constructor
Mesh()
{
static int iCnt = 0;
// Generate a default name for the mesh
char szTemp[128];
ai_snprintf(szTemp, 128, "UNNAMED_%i",iCnt++);
mName = szTemp;
}
//! Default constructor has been deleted
Mesh() = delete;
//! Constructor with explicit name
explicit Mesh(const std::string &name)