This commit is contained in:
Kjell Kernen
2014-04-03 10:12:33 +02:00
parent e2f0fc039f
commit 2335c13a90
+4 -2
View File
@@ -55,8 +55,10 @@ void WizMix::addMix(ModelData &model, Input input, int weight, int channel, int
if (input >= RUDDER_INPUT && input <= AILERONS_INPUT) { if (input >= RUDDER_INPUT && input <= AILERONS_INPUT) {
MixData & mix = model.mixData[mixIndex++]; MixData & mix = model.mixData[mixIndex++];
mix.destCh = channel+1; mix.destCh = channel+1;
if (isTaranis) if (isTaranis){
mix.srcRaw = RawSource(SOURCE_TYPE_VIRTUAL_INPUT, input-1, &model); RawSource tmpSource = settings.getDefaultSource( input-1 );
mix.srcRaw = RawSource(SOURCE_TYPE_VIRTUAL_INPUT, tmpSource.index, &model);
}
else else
mix.srcRaw = RawSource(SOURCE_TYPE_STICK, input-1); mix.srcRaw = RawSource(SOURCE_TYPE_STICK, input-1);
mix.weight = weight; mix.weight = weight;