mirror of
https://github.com/opentx/opentx.git
synced 2025-07-15 20:35:17 +03:00
* Fixes #4438: wrong cast used when setting Lua mixer script input source Improved parsing of Lua mixer script inputs * Additional type check * ScriptDataInput union introduced. Fixed: when using SOURCE input, do not use default value Fixed: when using SOURCE input, min-max range is fixed
This commit is contained in:
parent
177acb95e5
commit
f36d01d560
7 changed files with 65 additions and 35 deletions
|
@ -1230,8 +1230,8 @@ const luaR_value_entry opentxConstants[] = {
|
|||
{ "LEFT", LEFT },
|
||||
{ "PREC1", PREC1 },
|
||||
{ "PREC2", PREC2 },
|
||||
{ "VALUE", 0 }, // TODO reuse ZoneOption::Integer
|
||||
{ "SOURCE", 1 }, // TODO reuse ZoneOption::Source
|
||||
{ "VALUE", INPUT_TYPE_VALUE },
|
||||
{ "SOURCE", INPUT_TYPE_SOURCE },
|
||||
{ "REPLACE", MLTPX_REP },
|
||||
{ "MIXSRC_FIRST_INPUT", MIXSRC_FIRST_INPUT },
|
||||
{ "MIXSRC_Rud", MIXSRC_Rud },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue