Updated Loading of .shmodel files and updated original models #303

Merged
XiaoQiDigipen merged 9 commits from Model-Loader-Update into SP3-17-animation-system 2023-01-08 12:40:01 +08:00
1 changed files with 5 additions and 0 deletions
Showing only changes of commit 1eab15d129 - Show all commits

View File

@ -7,6 +7,11 @@ namespace SHADE
{ {
SHRigAsset::~SHRigAsset() SHRigAsset::~SHRigAsset()
{ {
if (root == nullptr)
{
return;
}
std::queue<SHRigNode*> nodeQueue; std::queue<SHRigNode*> nodeQueue;
nodeQueue.push(root); nodeQueue.push(root);