HISE Logo Forum
    • Categories
    • Register
    • Login

    Prevent expansion loading when changing presets

    Scheduled Pinned Locked Moved C++ Development
    4 Posts 3 Posters 357 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.
    • d.healeyD
      d.healey
      last edited by

      In Rhapsody I have buttons to load previous/next presets and I have stay in folder set to false.

      However I just noticed that after all the presets in the current expansion have been loaded it then loads up the next expansion.

      I don't want this. I always want to remain in the expansion the user loaded.

      This is an easy fix for me by commenting out some chunks of the MainController::UserPresetHandler::incPreset() function. However I'd like a more friendly way to do this. @Christoph-Hart Would a preprocessor definition be appropriate here?

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

      Christoph HartC E 2 Replies Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @d.healey
        last edited by

        @d-healey actually I think we can just tie it to whether the FullInstrument expansion mode is active or not because I can‘t see a use case where you would want to load the next library when you press on next user preset.

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

          @d-healey Good day everyone! I want to thank you. And teach me a little programming.

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

            @Christoph-Hart https://github.com/christophhart/HISE/pull/449

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

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

            22

            Online

            1.7k

            Users

            11.8k

            Topics

            102.6k

            Posts