#include #include "asfbx_context.h" AsFbxContext::AsFbxContext() { pSdkManager = nullptr; pScene = nullptr; pTextures = nullptr; pMaterials = nullptr; pExporter = nullptr; pBindPose = nullptr; } AsFbxContext::~AsFbxContext() { framePaths.clear(); delete pMaterials; delete pTextures; if (pExporter != nullptr) { pExporter->Destroy(); } if (pScene != nullptr) { pScene->Destroy(); } if (pSdkManager != nullptr) { pSdkManager->Destroy(); } }