Send Color?

Post Reply New Topic
RELATED
PRODUCTS

Post

Some strange thing with sends not sending out a color if there isn't one assigned. I'm not sure why this is... Is something like this the way?

Code: Select all

          final SettableColorValue sendColorValue = parameter.sendChannelColor();

          sendColorValue.markInterested();
          Supplier<Color> supplier = () -> {
            if (sendColorValue.get().toHex().equals(Color.nullColor().toHex())) {
              if (parentTrackColor.get().toHex().equals(Color.nullColor().toHex())) {
                return Color.whiteColor();
              } else {
                return parentTrackColor.get();
              }
            } else {
              return sendColorValue.get();

            }
          };
          
Is there a repo with known issues on the API? I thought somehow I've seen this issue in one of those github issue lists somewhere... maybe was just an issue with some ones extension.
----------------------------------------------------------------------
http://instagram.com/kirkwoodwest/
http://soundcloud.com/kirkwoodwest

Post Reply

Return to “Controller Scripting”