summaryrefslogtreecommitdiff
path: root/src/import/import_node.test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/import/import_node.test.c')
-rw-r--r--src/import/import_node.test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/import/import_node.test.c b/src/import/import_node.test.c
index 7c498a8..fed3125 100644
--- a/src/import/import_node.test.c
+++ b/src/import/import_node.test.c
@@ -42,6 +42,7 @@ void test_push_node()
struct aiNode nodeC;
struct aiNode *a_children[] = { &nodeC };
nodeA.mChildren = a_children;
+ nodeA.mNumChildren = 1;
nodeC.mMeshes = meshes + 7;
nodeC.mNumMeshes = 1;
nodeC.mChildren = NULL;