HISE Logo Forum
    • Categories
    • Register
    • Login

    How to link this

    Scheduled Pinned Locked Moved General Questions
    21 Posts 2 Posters 741 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 d.healey

      if (link.getValue())
          presenceKnb.setValue(value);
          bassKnb.changed();
      

      There are two things wrong with this.

      1. You want to udpate the presenceKnb not the bassKnb, you're in the bassKnb callback already.
      2. You haven't put the command in the if statement - https://softwareengineering.stackexchange.com/questions/16528/single-statement-if-block-braces-or-no

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - Public HISE tutorials
      My Patreon - HISE tutorials

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

      25

      Online

      2.0k

      Users

      12.9k

      Topics

      111.7k

      Posts