ASE: Delete Mesh default constructor
parent
59ab30cb25
commit
17f801ae8a
|
@ -308,18 +308,8 @@ struct BaseNode
|
||||||
/** Helper structure to represent an ASE file mesh */
|
/** Helper structure to represent an ASE file mesh */
|
||||||
struct Mesh : public MeshWithSmoothingGroups<ASE::Face>, public BaseNode
|
struct Mesh : public MeshWithSmoothingGroups<ASE::Face>, public BaseNode
|
||||||
{
|
{
|
||||||
//! Constructor.
|
//! Default constructor has been deleted
|
||||||
Mesh()
|
Mesh() = delete;
|
||||||
: 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//! Construction from an existing name
|
//! Construction from an existing name
|
||||||
|
|
Loading…
Reference in New Issue