ASE: Delete Bone default constructor
parent
e75f7a5964
commit
1836b00f51
|
@ -168,15 +168,7 @@ struct Face : public FaceWithSmoothingGroup
|
||||||
struct Bone
|
struct Bone
|
||||||
{
|
{
|
||||||
//! Constructor
|
//! Constructor
|
||||||
Bone()
|
Bone() = delete;
|
||||||
{
|
|
||||||
static int iCnt = 0;
|
|
||||||
|
|
||||||
// Generate a default name for the bone
|
|
||||||
char szTemp[128];
|
|
||||||
::ai_snprintf(szTemp, 128, "UNNAMED_%i",iCnt++);
|
|
||||||
mName = szTemp;
|
|
||||||
}
|
|
||||||
|
|
||||||
//! Construction from an existing name
|
//! Construction from an existing name
|
||||||
explicit Bone( const std::string& name)
|
explicit Bone( const std::string& name)
|
||||||
|
|
Loading…
Reference in New Issue