aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/scene
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/lua_api/scene')
-rw-r--r--src/client/lua_api/scene/imesh.cpp2
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();