Skip to content

Commit

Permalink
fix: fixes issue with camera preset name saving to the wrong preset
Browse files Browse the repository at this point in the history
  • Loading branch information
aknous committed Jun 14, 2023
1 parent a67bd59 commit 721d925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QscQsysDspPlugin/QscDspCameraBridge.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static void LinkToApiExt(this QscDspCamera camera, BasicTriList trilist,
// from SiMPL > to Plugin
trilist.SetSigTrueAction(joinMap.PresetRecallStart.JoinNumber + temp + 1, () => camera.RecallPreset(temp));
trilist.SetSigTrueAction(joinMap.PresetStoreStart.JoinNumber + temp + 1, () => camera.SavePreset(temp));
trilist.SetStringSigAction(joinMap.PresetNamesStart.JoinNumber + temp, (s) => camera.WritePresetName(s, (ushort)(temp + 1)));
trilist.SetStringSigAction(joinMap.PresetNamesStart.JoinNumber + temp + 1, (s) => camera.WritePresetName(s, (ushort)(temp + 1)));
// from Plugin > to SiMPL
preset.Value.LabelFeedback.LinkInputSig(trilist.StringInput[joinMap.PresetNamesStart.JoinNumber + temp + 1]);
trilist.SetString(joinMap.PresetNamesStart.JoinNumber + temp + 1, preset.Value.Label);
Expand Down

0 comments on commit 721d925

Please sign in to comment.