[add] Model #ifdef
This commit is contained in:
@@ -400,10 +400,13 @@ void CAnimation::Free()
|
||||
}
|
||||
|
||||
}
|
||||
;
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CAnimation::Describe_Entity()
|
||||
{
|
||||
//if (GUI::CollapsingHeader(m_strName.c_str())) {
|
||||
//
|
||||
//}
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -597,7 +597,10 @@ void CMesh::Free()
|
||||
|
||||
Safe_Delete_Array(m_pBoneMatrices);
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
|
||||
void CMesh::Describe_Entity()
|
||||
{
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
@@ -1385,6 +1385,7 @@ void CModel::Free()
|
||||
m_AnimRanges.clear();
|
||||
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
void CModel::Describe_Entity()
|
||||
{
|
||||
//GUI::Begin("Model_Desc");
|
||||
@@ -1433,3 +1434,6 @@ void CModel::Describe_Entity()
|
||||
//}
|
||||
//GUI::End();
|
||||
}
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
|
||||
@@ -94,7 +94,10 @@ class ENGINE_DLL CAnimation : public CBase
|
||||
//
|
||||
CAnimation* Clone();
|
||||
virtual void Free() override;
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity();
|
||||
#endif // _DEBUG
|
||||
|
||||
};
|
||||
|
||||
NS_END
|
||||
|
||||
@@ -73,7 +73,11 @@ class ENGINE_DLL CMesh final : public CVIBuffer
|
||||
//
|
||||
virtual CMesh* Clone(void* pArg, class CGameObject* pOwner = nullptr) override;
|
||||
virtual void Free() override;
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
|
||||
#endif // _DEBUG
|
||||
|
||||
};
|
||||
|
||||
NS_END
|
||||
|
||||
@@ -182,7 +182,10 @@ static _int Get_BoneIndex(const _char* pBoneName, vector<class CBone*> Bones); /
|
||||
virtual CComponent* Clone(void* pArg, class CGameObject* pOwner = nullptr);
|
||||
|
||||
virtual void Free(); public:
|
||||
#ifdef _DEBUG
|
||||
void Describe_Entity() override;
|
||||
#endif // _DEBUG
|
||||
|
||||
};
|
||||
|
||||
NS_END
|
||||
|
||||
Reference in New Issue
Block a user