Strange thing...

Hi, I have a strange thing to solve. I have a script with 6 menus of effects presets that I assign to configurable slots as I like. Everything works with panels (ui_panel) and on each panel sliders that appear and disappear depending on the slots configuration by the user. Everything works perfectly, except for this problem: Let's say I have an effect in slot 2 or 3, etc., when I move the control sliders, everything is ok. But as soon as I want to load a preset, preset loads, but my panel disappears in favor of panel 1 every time, every time! I really don't see where the problem comes from : on persistence_changed, on async_complete, somewhere else ? Could someone help me to find a way to solve it? Thanks a lot😉
Best Answer
-
When you say "preset", do you mean snapshot? Make sure you set your tabs to be make_instr_persistent(), so that loading snapshots doesn't change their value.
1
Answers
-
Post your code
1 -
When you say "preset", do you mean snapshot? Make sure you set your tabs to be make_instr_persistent(), so that loading snapshots doesn't change their value.
1 -
Thank Reidd and ED. Yes it was a snapshot ans solve with make_instr_persistent(). Thanks a lot ED
0
Categories
- All Categories
- 21 Welcome
- 750 Hangout
- 73 NI News
- 355 Tech Talks
- 1.6K Native Access
- 7.2K Komplete
- 938 Komplete General
- 1.7K Komplete Kontrol
- 2.7K Kontakt
- 660 Reaktor
- 229 Battery 4
- 399 Guitar Rig & FX
- 264 Massive X & Synths
- 392 Other Software & Hardware
- 3.1K Maschine
- 23 Sampling Room
- 3.8K Traktor
- 3.5K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators