HISE Logo Forum
    • Categories
    • Register
    • Login

    DraggableFilterPanel doesn't update as it should

    Scheduled Pinned Locked Moved Scripting
    7 Posts 3 Posters 244 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
      last edited by ulrik

      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.

      updateeq.gif

      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 do

      Someone that can shred some light here?

      inline function onParametriqEQStorageControl(component, value)
      {
      	if (isDefined(value.base64))
      	{
      		ParametriqEQ1.restoreState(value.base64);
      		ParametriqEQ1flt.sendRepaintMessage();
      	}
      };
      

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

      orangeO 1 Reply Last reply Reply Quote 0
      • orangeO
        orange @ulrik
        last edited by

        @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

        develop Branch / XCode 13.1
        macOS Monterey / M1 Max

        ulrikU 1 Reply Last reply Reply Quote 1
        • ulrikU
          ulrik @orange
          last edited by

          @orange Ah, thank you, I missed that one!

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

          Oli UllmannO 1 Reply Last reply Reply Quote 0
          • Oli UllmannO
            Oli Ullmann @ulrik
            last edited by

            @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/22

            It works for me.

            All the best
            Oli

            ulrikU 2 Replies Last reply Reply Quote 2
            • ulrikU
              ulrik @Oli Ullmann
              last edited by

              @Oli-Ullmann Beautiful, I'll try it, thanks a lot!

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

              1 Reply Last reply Reply Quote 1
              • ulrikU
                ulrik @Oli Ullmann
                last edited by

                @Oli-Ullmann That fixed it! 🎶

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

                Oli UllmannO 1 Reply Last reply Reply Quote 1
                • Oli UllmannO
                  Oli Ullmann @ulrik
                  last edited by

                  @ulrik
                  I'm glad to hear that! :-)

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post

                  17

                  Online

                  1.7k

                  Users

                  11.8k

                  Topics

                  103.1k

                  Posts