mirror of
https://github.com/opentx/opentx.git
synced 2025-07-19 06:15:10 +03:00
Re #1783: NOT curves exported incorrectly (for non ARM platforms)
This commit is contained in:
parent
1c053a7d0b
commit
525d956935
1 changed files with 6 additions and 1 deletions
|
@ -1030,7 +1030,12 @@ class MixField: public TransformedField {
|
|||
_destCh = mix.destCh - 1;
|
||||
if (mix.curve.type == CurveReference::CURVE_REF_CUSTOM) {
|
||||
_curveMode = true;
|
||||
_curveParam = 6 + mix.curve.value;
|
||||
if (mix.curve.value > 0) {
|
||||
_curveParam = 6 + mix.curve.value;
|
||||
}
|
||||
else {
|
||||
_curveParam = mix.curve.value;
|
||||
}
|
||||
}
|
||||
else if (mix.curve.type == CurveReference::CURVE_REF_FUNC) {
|
||||
_curveMode = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue