Hello helgoboss,
I'm working on a complex mapping and I wanted to use ReaLearn Script to ease out the creation process.
The problem is, when exporting the main compartment as Lua and reimporting it, my display mappings lose their source "protocol", "display" and "line".
This doesn't seem to happen with JSON import/export.
I'm using v2.16.0-pre.1/x86_64
Steps to reproduce on a fresh instance of ReaLearn:
Create a new mapping
Set source as follow
Category: MIDI
Type: Display (feedback only)
Protocol: "XTouch Mackie XT LCD"
Display: 3
Line: 2
Export main compartment as Lua
Import from clipboard
The mapping is now:
Category: MIDI
Type: Display (feedback only)
Protocol: "Mackie LCD"
Display: \<All>
Line: \<Multiline>
If that helps, here is the script generated by "Export main compartment as Lua":
Hello helgoboss, I'm working on a complex mapping and I wanted to use ReaLearn Script to ease out the creation process. The problem is, when exporting the main compartment as Lua and reimporting it, my display mappings lose their source "protocol", "display" and "line". This doesn't seem to happen with JSON import/export.
I'm using v2.16.0-pre.1/x86_64
Steps to reproduce on a fresh instance of ReaLearn:
If that helps, here is the script generated by "Export main compartment as Lua":
And here is what is generated after importing the script above and exporting again:
Thanks !