projects
/
platform
/
upstream
/
assimp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f1874d
)
Fix a crash issue in XFileExporter
author
JLouis-B
<jeanlouis.boudrand@hotmail.fr>
Wed, 30 Dec 2015 18:01:04 +0000
(19:01 +0100)
committer
JLouis-B
<jeanlouis.boudrand@hotmail.fr>
Wed, 30 Dec 2015 18:01:04 +0000
(19:01 +0100)
code/XFileExporter.cpp
patch
|
blob
|
history
diff --git
a/code/XFileExporter.cpp
b/code/XFileExporter.cpp
index
55cf95c
..
d0d05fe
100644
(file)
--- a/
code/XFileExporter.cpp
+++ b/
code/XFileExporter.cpp
@@
-309,12
+309,12
@@
void XFileExporter::WriteNode( aiNode* pNode)
WriteFrameTransform(m);
- for (size_t i = 0; i < pNode->mNumMeshes;
i++
)
+ for (size_t i = 0; i < pNode->mNumMeshes;
++i
)
WriteMesh(mScene->mMeshes[pNode->mMeshes[i]]);
// recursive call the Nodes
for (size_t i = 0; i < pNode->mNumChildren; ++i)
- WriteNode(
mScene->mRoot
Node->mChildren[i]);
+ WriteNode(
p
Node->mChildren[i]);
PopTag();