1//************************************ bs::framework - Copyright 2018 Marko Pintera **************************************//
2//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
3#include "BsFBXImportData.h"
4
5namespace bs
6{
7 FBXImportNode::~FBXImportNode()
8 {
9 for (auto& child : children)
10 bs_delete(child);
11 }
12
13 FBXImportScene::~FBXImportScene()
14 {
15 if (rootNode != nullptr)
16 bs_delete(rootNode);
17
18 for (auto& mesh : meshes)
19 bs_delete(mesh);
20 }
21}