DragabbleFilterPanel Won't Save With Presets!!!
-
Hello There
Just Discovered That The DragabbleFilterPanel Won't Save With Presets!!!
I Mean Every Change That I Make In The EQ, won't Save And As Soon As I Change The Preset, The Panel, Still Shows The Same Values And Remains Untouched!!!
Any Workaround?Thanks In Advance
-
Bump
I Need This So Bad, Any Solution? -
@Natanr do you have example code, a snippet?
-
@ulrik Hello Ulrik, It's Just A FloatigTile That I Use For EQ Nodes.
Also, Nodes Are Not In Sync With The Knobs, So With Dragging The Node Knobs Do ReactHiseSnippet 2251.3ocyZ07aabbEeVIMtQLgwxststGJvBWT.5DEG9grsZBRzZJQ5U0R1jgtF8V7pcmUbpWtK09gjkCDhK5kdr2B7MeH2SxwfbQWKpJPA5+.5Ogfhbn2TlY+f6rexkj1wh212Lueyu2adyLu4woiogLxxxvDvs3CNbHBv8VvdGpa2e89RXcvla.39YvNRls1Cz7vgRVVHE.G272g1H2hK.b+88q0TRSRWFEJB.dnAVFsEd.1NTZGg6h0zZKofd.d.SuWQXSYC80MzLbHDYdXUvPI4GKsK5dRztMGDvcgVJXaCyd1R1HK.2BMMTNrWeiCz85+CwV3czPzOpA5Q.xSbaCMEJioRAq2GqozIvfs.DT5DZ9y6Y9WFtMVAORdnaXI2F3C0f0evMWdzqFK8plJ8plF83Xn2Bdz6Rvdxl3g1gsP41aB2T2FYpJQlBXokWeAyc2KAW2fzCc6qOP5wn1ljOFoQkUqVcY9aTs509vxkJW58eexzMwsaahk4asW4RjYFKa98kL4uqtwNs1aKiCZah1yAoKeHu+uOhO.+cQ1qaLXngN4iJWMoFWkNJo.Iw4FE0wBIqFohpHd29wgMeTiqQlvF2ALdXihYpt.5hJd1ei0EP0HGGZT.KhCMS.88LQPrP9xbQLtEOdDGAWp1bW9X+FqM2MG2W2ICJpF4465NYVZtv0chrSWMR30Z5XaanuU6lHMshgFqFwnVPS85izTmHvb0HUzDmXpIlM0DmXpIxPsj3ssjEY+yV6Ub7BzHAfoAU.ftmESgqkpJRlfUPmq4Ci2V17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ESDzok2gjbLQ5feDgFRYdC
-
@Natanr You're right. Well spotted. This could be a big problem.
It's a shame there's no 'saveInPreset' button in the properties for floating tiles. I'm sure there's a good reason why there isn't, but a workaround is definitely needed.
@Christoph-Hart Any ideas?
-
Ah, yes that's right. The problem is that the floating tile is not supposed to store data but is only a stateless "overlay" for certain UI tasks, however the eq panel definitely violates that law.
There's no easy fix and I have to think about a proper solution on an architectural level. Maybe I need to just propagate entire modules to be included in a user preset (I am using something similar in a C++ project I am working on).
-
@Christoph-Hart @SteveRiggs
I Just Compiled A Plugin , And The Bad News Is That By Saving And Reopening The Project , DraggablefilterPanel Goes Back To The Settings That I Used In Hise.
Kinda It Overrides The Eq With Init -
@Natanr
@Christoph-Hart said in DragabbleFilterPanel Won't Save With Presets!!!:
There's no easy fix and I have to think about a proper solution on an architectural level.
I think it will get fixed eventually, but as Christoph said it's not an easy quick thing to fix. We might have to wait a little bit for this one.
-
@SteveRiggs The Plugins Is Almost Ready To Release .
This Is The Third Time That I Started A Hise Project And Stucked :( -
Actually I've silently rolled out a fix for this but told no one :)
You can now add entire modules to be stored in a user preset using the scripting call
Engine.addModuleStateToUserPreset("MyEq");
If you do so, the preset star will appear next to the module header:
The next time you save a user preset, it will store the entire state of that particular module in the user preset, so in this case you don't need to bother at all about the FilterDragPanel, as it will update itself.
Be aware that you can call this method only for modules which have absolutely no child modules, otherwise they would get discarded and might cause dangling references (I deactivated the call for modules with children).
-
@Natanr I feel your pain mate. It's happened to me a few times. Luckily updates usually get done pretty quickly.
Hopefully this one won't be ages. I just try and move onto the next project in the meantime to keep things moving while I wait for the fixes.
I've just recently built these EQs into a lot of my projects as well so I will also have to wait before I can do anything with those now. I didn't even notice they weren't saving the settings until you mentioned it.
-
@Christoph-Hart Good timing lol
-
@Christoph-Hart Oh My God :) <3 Oh My God :) <3 You're The Life Saver Christoph
Right On Time :) God Bless You Man -
@Christoph-Hart ANd If Possible, Could You Supply A Short Snippet, Just Placing The Code In On Init , Gives me Errors
-
Sadly This Fix Is Out Of My Knowledge
Console Gives Me The Error Belowconstant not found: Engine.addModuleStateToUserPreset
-
@Natanr Have you built the latest version of HISE?
-
Yes, Mine Is Scriptnode , The Latest One I Guess
-
@Natanr Did you build it today?
-
@d-healey No, It's For A Few Days Ago.
Where I Can Find The New Version, Thanks David -
Pull from GitHub and rebuild :)