diff options
author | sanine-a <sanine.not@pm.me> | 2020-10-28 22:29:38 -0500 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2020-10-28 22:29:38 -0500 |
commit | a9f0521984f43f3048d3e0fec15082916e7f8331 (patch) | |
tree | 298921a1bb16dca39664f460c60cb78b368b64c8 /src | |
parent | c6790ae7b77e32af33ab290ff6b645536b69210e (diff) |
fix bug in model loading
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/mesh.c b/src/mesh/mesh.c index ab3e92c..2f3b330 100644 --- a/src/mesh/mesh.c +++ b/src/mesh/mesh.c @@ -150,7 +150,7 @@ int honey_mesh_load(lua_State* L) lua_createtable(L, 0, 0); - process_nodes_recursively(L, scene, scene->mRootNode, n_meshes); + process_nodes_recursively(L, scene, scene->mRootNode, &n_meshes); return 1; } |