diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-07-04 15:15:48 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-07-04 15:15:48 -0400 |
| commit | b98dbac4ed2f755ce71bd9be17f26a3f86c1e3cc (patch) | |
| tree | c9d7755ca9a308706c4dc1b6fd1eaa690d8ec46e /src/client/lua_api/scene/imesh.cpp | |
| parent | bced528a07a2ff1591455e4c4228ec18f8e0532d (diff) | |
| download | brokengine-b98dbac4ed2f755ce71bd9be17f26a3f86c1e3cc.tar.gz brokengine-b98dbac4ed2f755ce71bd9be17f26a3f86c1e3cc.tar.bz2 brokengine-b98dbac4ed2f755ce71bd9be17f26a3f86c1e3cc.zip | |
Lots of changes
* client no longer crashes when closed
* started work on adding physics types
* some bugfixes to core lua api
Diffstat (limited to 'src/client/lua_api/scene/imesh.cpp')
| -rw-r--r-- | src/client/lua_api/scene/imesh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/lua_api/scene/imesh.cpp b/src/client/lua_api/scene/imesh.cpp index c2b6510..c95366f 100644 --- a/src/client/lua_api/scene/imesh.cpp +++ b/src/client/lua_api/scene/imesh.cpp @@ -81,7 +81,7 @@ static int newiscenemesh(lua_State* L){ /*mesh:setmaterial("string",layernum=0)*/ static int setmaterial(lua_State* L){ LISceneNode* n = checkismesh(L,1); - u32 layernum = luaL_optint(L,3,0); + //u32 layernum = luaL_optint(L,3,0); const char* matfile = luaL_optstring(L,2,"error.png"); printf("Setting material on a %s",n->type); IVideoDriver* driver = device->getVideoDriver(); |
