HISE Logo Forum
    • Categories
    • Register
    • Login

    internalPresetHandler.isCurrentlyLoadingPreset() Fails

    Scheduled Pinned Locked Moved Bug Reports
    1 Posts 1 Posters 29 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.
    • clevername27C
      clevername27
      last edited by clevername27

      macOS / current Dev build / custom preset system

      isCurrentlyLoadingPreset() can return false, if within a function called from the (user-defined) preset loading callback, and it's during a recall inside the DAW.

      If you are experiencing this, use both; this also ensures the in-app case seems to work:

      if (internalPresetHandler.isCurrentlyLoadingPreset() || internalPresetHandler.isInternalPresetLoad())

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

      19

      Online

      1.7k

      Users

      11.8k

      Topics

      102.6k

      Posts