mirror of
https://github.com/opentx/opentx.git
synced 2025-07-15 20:35:17 +03:00
Fix getcurve reporting 0 as first x value instead of -100
This commit is contained in:
parent
cfcac8c51d
commit
129bbe2198
1 changed files with 1 additions and 1 deletions
|
@ -833,7 +833,7 @@ static int luaModelGetCurve(lua_State *L)
|
|||
lua_pushstring(L, "x");
|
||||
lua_newtable(L);
|
||||
lua_pushinteger(L, 0);
|
||||
lua_pushinteger(L, 0);
|
||||
lua_pushinteger(L, -100);
|
||||
lua_settable(L, -3);
|
||||
for (int i=0; i < curveData.points + 3; i++) {
|
||||
lua_pushinteger(L, i+1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue