DraggableFilterPanel doesn't update as it should
-
In my project I save the state of a ParametriqEQ into a panel that has "saveInPreset" enabled
So loading and saving presets working as it should, however both the EQ module and the DraggableFilterPanel floating tile doesn't update as it should.this is the way I store a preset and the EQ state
inline function onNewPresetBtnControl(component, value) { if (value) { ParametriqEQStorage.setValue({"base64": ParametriqEQ1.exportState()}); reg preset = UPH.createObjectForSaveInPresetComponents(); FileSystem.browse(UserPresets, true, "*.preset", function(file) { file.writeObject(preset); setPresets(); }); } };
and this is how I set the EQ state when loading a preset
I have tried to use .changed() and .sendRepaintMessage() for the flt but it doesn't matter what I doSomeone that can shred some light here?
inline function onParametriqEQStorageControl(component, value) { if (isDefined(value.base64)) { ParametriqEQ1.restoreState(value.base64); ParametriqEQ1flt.sendRepaintMessage(); } };
-
@ulrik This has been reported before.
This is a bug, if no eq node is selected in the preset, it gives this error. At least one eq node must be selected to load the preset state
-
@orange Ah, thank you, I missed that one!
-
@ulrik @orange
There is a solution to this problem! :-)Have a look at this post:
https://forum.hise.audio/topic/10631/eq-display-bug-draggable-filter-panel/22It works for me.
All the best
Oli -
@Oli-Ullmann Beautiful, I'll try it, thanks a lot!
-
@Oli-Ullmann That fixed it!
-
@ulrik
I'm glad to hear that! :-)