HISE Logo Forum
    • Categories
    • Register
    • Login

    DragabbleFilterPanel Won't Save With Presets!!!

    Scheduled Pinned Locked Moved General Questions
    28 Posts 5 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ulrikU
      ulrik @Natan
      last edited by

      @Natanr do you have example code, a snippet?

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

      NatanN 1 Reply Last reply Reply Quote 0
      • NatanN
        Natan @ulrik
        last edited by

        @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 React

        HiseSnippet 2251.3ocyZ07aabbEeVIMtQLgwxststGJvBWT.5DEG9grsZBRzZJQ5U0R1jgtF8V7pcmUbpWtK09gjkCDhK5kdr2B7MeH2SxwfbQWKpJPA5+.5Ogfhbn2TlY+f6rexkj1wh212Lueyu2adyLu4woiogLxxxvDvs3CNbHBv8VvdGpa2e89RXcvla.39YvNRls1Cz7vgRVVHE.G272g1H2hK.b+88q0TRSRWFEJB.dnAVFsEd.1NTZGg6h0zZKofd.d.SuWQXSYC80MzLbHDYdXUvPI4GKsK5dRztMGDvcgVJXaCyd1R1HK.2BMMTNrWeiCz85+CwV3czPzOpA5Q.xSbaCMEJioRAq2GqozIvfs.DT5DZ9y6Y9WFtMVAORdnaXI2F3C0f0evMWdzqFK8plJ8plF83Xn2Bdz6Rvdxl3g1gsP41aB2T2FYpJQlBXokWeAyc2KAW2fzCc6qOP5wn1ljOFoQkUqVcY9aTs509vxkJW58eexzMwsaahk4asW4RjYFKa98kL4uqtwNs1aKiCZah1yAoKeHu+uOhO.+cQ1qaLXngN4iJWMoFWkNJo.Iw4FE0wBIqFohpHd29wgMeTiqQlvF2ALdXihYpt.5hJd1ei0EP0HGGZT.KhCMS.88LQPrP9xbQLtEOdDGAWp1bW9X+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DD89tZPAu5gbmtgbmQ942XM52b9MVKnweRFiARxlFep+eFAMx9MbkPrac22O5hj3Xx270FU1NX0qWklQL9Skkoq2dOxZ0z0o9TnSioPmUlBctwTnyMmBct0Tnyp4pC8ozdaGaiAd6ESDzok2gjbLQ5feDgFRYdC
        
        1 Reply Last reply Reply Quote 0
        • SteveRiggsS
          SteveRiggs @Natan
          last edited by SteveRiggs

          @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?

          www.anarchyaudioworx.com

          www.facebook.com/groups/audioworx/

          1 Reply Last reply Reply Quote 1
          • Christoph HartC
            Christoph Hart
            last edited by

            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).

            NatanN 1 Reply Last reply Reply Quote 1
            • NatanN
              Natan @Christoph Hart
              last edited by Natan

              @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 😞🤭

              SteveRiggsS 1 Reply Last reply Reply Quote 0
              • SteveRiggsS
                SteveRiggs @Natan
                last edited by

                @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.

                www.anarchyaudioworx.com

                www.facebook.com/groups/audioworx/

                NatanN 1 Reply Last reply Reply Quote 0
                • NatanN
                  Natan @SteveRiggs
                  last edited by

                  @SteveRiggs The Plugins Is Almost Ready To Release .
                  This Is The Third Time That I Started A Hise Project And Stucked :(

                  SteveRiggsS 1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart
                    last edited by

                    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:

                    ffcab8d0-7786-45b3-a841-558ffd1016f5-image.png

                    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).

                    SteveRiggsS 1 Reply Last reply Reply Quote 4
                    • SteveRiggsS
                      SteveRiggs @Natan
                      last edited by

                      @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.

                      www.anarchyaudioworx.com

                      www.facebook.com/groups/audioworx/

                      1 Reply Last reply Reply Quote 1
                      • SteveRiggsS
                        SteveRiggs @Christoph Hart
                        last edited by

                        @Christoph-Hart Good timing lol

                        www.anarchyaudioworx.com

                        www.facebook.com/groups/audioworx/

                        1 Reply Last reply Reply Quote 1
                        • NatanN
                          Natan
                          last edited by

                          @Christoph-Hart Oh My God :) <3 Oh My God :) <3 You're The Life Saver Christoph
                          Right On Time :) God Bless You Man

                          1 Reply Last reply Reply Quote 0
                          • NatanN
                            Natan
                            last edited by

                            @Christoph-Hart ANd If Possible, Could You Supply A Short Snippet, Just Placing The Code In On Init , Gives me Errors

                            1 Reply Last reply Reply Quote 0
                            • NatanN
                              Natan
                              last edited by

                              Sadly This Fix Is Out Of My Knowledge
                              Console Gives Me The Error Below

                              constant not found: Engine.addModuleStateToUserPreset
                              
                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @Natan
                                last edited by

                                @Natanr Have you built the latest version of HISE?

                                Libre Wave - Freedom respecting instruments and effects
                                My Patreon - HISE tutorials
                                YouTube Channel - Public HISE tutorials

                                1 Reply Last reply Reply Quote 0
                                • NatanN
                                  Natan
                                  last edited by

                                  Yes, Mine Is Scriptnode , The Latest One I Guess

                                  d.healeyD 1 Reply Last reply Reply Quote 0
                                  • d.healeyD
                                    d.healey @Natan
                                    last edited by

                                    @Natanr Did you build it today?

                                    Libre Wave - Freedom respecting instruments and effects
                                    My Patreon - HISE tutorials
                                    YouTube Channel - Public HISE tutorials

                                    NatanN 1 Reply Last reply Reply Quote 1
                                    • NatanN
                                      Natan @d.healey
                                      last edited by

                                      @d-healey No, It's For A Few Days Ago.
                                      Where I Can Find The New Version, Thanks David

                                      1 Reply Last reply Reply Quote 0
                                      • Christoph HartC
                                        Christoph Hart
                                        last edited by

                                        Pull from GitHub and rebuild :)

                                        1 Reply Last reply Reply Quote 1
                                        • d.healeyD
                                          d.healey
                                          last edited by d.healey

                                          It was updated 5 minutes ago - https://github.com/christophhart/HISE/tree/scriptnode - and that update is going to make some people very happy :)

                                          Libre Wave - Freedom respecting instruments and effects
                                          My Patreon - HISE tutorials
                                          YouTube Channel - Public HISE tutorials

                                          NatanN 1 Reply Last reply Reply Quote 3
                                          • NatanN
                                            Natan @d.healey
                                            last edited by

                                            @d-healey said in DragabbleFilterPanel Won't Save With Presets!!!:

                                            hat update is going to make some people very happy

                                            Thank You, Dear David

                                            d.healeyD 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            12

                                            Online

                                            1.8k

                                            Users

                                            11.9k

                                            Topics

                                            103.9k

                                            Posts