Applied various fixes to the attachment system, made skeleton rendering more flexible, added the ability for attachments to specify an attach type

This commit is contained in:
parax0
2016-05-01 17:32:55 -06:00
parent 07609cfa14
commit ce688fcb8e
29 changed files with 332 additions and 151 deletions

View File

@@ -163,7 +163,8 @@ void CModel::DrawWireframe(FRenderOptions Options, CColor WireColor /*= CColor::
void CModel::SetSkin(CSkin *pSkin)
{
ASSERT(!mpSkin || !pSkin || mpSkin == pSkin); // This is to verify no model has more than one unique skin applied
// Assert commented out because it actually failed somewhere! Needs to be addressed.
//ASSERT(!mpSkin || !pSkin || mpSkin == pSkin); // This is to verify no model has more than one unique skin applied
if (mpSkin != pSkin)
{