mirror of
https://github.com/opentx/opentx.git
synced 2025-07-19 22:35:12 +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,8 +1030,13 @@ class MixField: public TransformedField {
|
||||||
_destCh = mix.destCh - 1;
|
_destCh = mix.destCh - 1;
|
||||||
if (mix.curve.type == CurveReference::CURVE_REF_CUSTOM) {
|
if (mix.curve.type == CurveReference::CURVE_REF_CUSTOM) {
|
||||||
_curveMode = true;
|
_curveMode = true;
|
||||||
|
if (mix.curve.value > 0) {
|
||||||
_curveParam = 6 + mix.curve.value;
|
_curveParam = 6 + mix.curve.value;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
_curveParam = mix.curve.value;
|
||||||
|
}
|
||||||
|
}
|
||||||
else if (mix.curve.type == CurveReference::CURVE_REF_FUNC) {
|
else if (mix.curve.type == CurveReference::CURVE_REF_FUNC) {
|
||||||
_curveMode = true;
|
_curveMode = true;
|
||||||
_curveParam = mix.curve.value;
|
_curveParam = mix.curve.value;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue