fix: Sort mixer lines after loading model (#3172)
* fix: sort mixer lines after loading model Fixes #2806 * fix(cpn): sort mixer lines after loading model * More efficient swap --------- Co-authored-by: elecpower <neilh713@tpg.com.au>
This commit is contained in:
co-authored by
elecpower
parent
d57afea89e
commit
3695930242
@@ -230,6 +230,7 @@ class ModelData {
|
||||
int linkedFlightModeValueToIndex(const int phaseIdx, const int val, const int maxOwnValue);
|
||||
|
||||
void clearMixes();
|
||||
void sortMixes();
|
||||
void clearInputs();
|
||||
|
||||
int getChannelsMax(bool forceExtendedLimits=false) const;
|
||||
@@ -363,6 +364,5 @@ class ModelData {
|
||||
if (value != swtch.toValue())
|
||||
value = swtch.toValue();
|
||||
}
|
||||
void sortMixes();
|
||||
void updateResetParam(CustomFunctionData * cfd);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user