This commit is contained in:
bsongis
2014-04-20 09:30:22 +02:00
parent 2eed4ea8e2
commit c4eb1182df
+2 -2
View File
@@ -637,9 +637,9 @@ static int luaModelGetOutput(lua_State *L)
lua_pushtableboolean(L, "symetrical", limit->symetrical);
lua_pushtableboolean(L, "revert", limit->revert);
if (limit->curve)
lua_pushtablenil(L, "curve");
else
lua_pushtablenumber(L, "curve", limit->curve-1);
else
lua_pushtablenil(L, "curve");
}
else {
lua_pushnil(L);