diff options
author | RevoluPowered <gordon@gordonite.tech> | 2019-11-05 17:06:06 +0000 |
---|---|---|
committer | RevoluPowered <gordon@gordonite.tech> | 2019-11-05 20:38:26 +0000 |
commit | 5fb160c7c692c469488f11aca90a36ac3248dfee (patch) | |
tree | d1eba0971b63f8f8e39e6f2752fc8d9944960318 /thirdparty/assimp/code/Common/scene.cpp | |
parent | 0bd877780fb7b344b5ed1d2fa7765078616f069b (diff) |
Updated assimp to 308db73 from https://github.com/assimp/assimp/
Diffstat (limited to 'thirdparty/assimp/code/Common/scene.cpp')
-rw-r--r-- | thirdparty/assimp/code/Common/scene.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/thirdparty/assimp/code/Common/scene.cpp b/thirdparty/assimp/code/Common/scene.cpp index 2acb348d81..d15619acff 100644 --- a/thirdparty/assimp/code/Common/scene.cpp +++ b/thirdparty/assimp/code/Common/scene.cpp @@ -44,23 +44,23 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. aiNode::aiNode() : mName("") -, mParent(NULL) +, mParent(nullptr) , mNumChildren(0) -, mChildren(NULL) +, mChildren(nullptr) , mNumMeshes(0) -, mMeshes(NULL) -, mMetaData(NULL) { +, mMeshes(nullptr) +, mMetaData(nullptr) { // empty } aiNode::aiNode(const std::string& name) : mName(name) -, mParent(NULL) +, mParent(nullptr) , mNumChildren(0) -, mChildren(NULL) +, mChildren(nullptr) , mNumMeshes(0) -, mMeshes(NULL) -, mMetaData(NULL) { +, mMeshes(nullptr) +, mMetaData(nullptr) { // empty } @@ -68,7 +68,7 @@ aiNode::aiNode(const std::string& name) aiNode::~aiNode() { // delete all children recursively // to make sure we won't crash if the data is invalid ... - if (mChildren && mNumChildren) + if (mNumChildren && mChildren) { for (unsigned int a = 0; a < mNumChildren; a++) delete mChildren[a]; |