From 2335c13a90f7f4e06d4129115b9cf9d53bbefa23 Mon Sep 17 00:00:00 2001 From: Kjell Kernen Date: Thu, 3 Apr 2014 10:12:33 +0200 Subject: [PATCH] Fixes #915 --- companion/src/wizarddata.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/companion/src/wizarddata.cpp b/companion/src/wizarddata.cpp index 197afca11..363753dbb 100644 --- a/companion/src/wizarddata.cpp +++ b/companion/src/wizarddata.cpp @@ -55,8 +55,10 @@ void WizMix::addMix(ModelData &model, Input input, int weight, int channel, int if (input >= RUDDER_INPUT && input <= AILERONS_INPUT) { MixData & mix = model.mixData[mixIndex++]; mix.destCh = channel+1; - if (isTaranis) - mix.srcRaw = RawSource(SOURCE_TYPE_VIRTUAL_INPUT, input-1, &model); + if (isTaranis){ + RawSource tmpSource = settings.getDefaultSource( input-1 ); + mix.srcRaw = RawSource(SOURCE_TYPE_VIRTUAL_INPUT, tmpSource.index, &model); + } else mix.srcRaw = RawSource(SOURCE_TYPE_STICK, input-1); mix.weight = weight;