ASE: Delete Mesh default constructor

pull/1745/head
Turo Lamminen 2018-01-27 18:09:23 +02:00
parent 59ab30cb25
commit 17f801ae8a
1 changed files with 2 additions and 12 deletions

View File

@ -308,18 +308,8 @@ struct BaseNode
/** Helper structure to represent an ASE file mesh */
struct Mesh : public MeshWithSmoothingGroups<ASE::Face>, public BaseNode
{
//! Constructor.
Mesh()
: BaseNode (BaseNode::Mesh)
, bSkip (false)
{
// use 2 texture vertex components by default
for (unsigned int c = 0; c < AI_MAX_NUMBER_OF_TEXTURECOORDS;++c)
this->mNumUVComponents[c] = 2;
// setup the default material index by default
iMaterialIndex = Face::DEFAULT_MATINDEX;
}
//! Default constructor has been deleted
Mesh() = delete;
//! Construction from an existing name