setOverlayId(), getOverlayId() bug

Running 3.5 on a mk II.

It appears that the set/get overlayId stuff is broken. (Unless my syntax is not correct)

I can set it using:

         i = 99
         val = controls.get(ctlId):getValue("value")
         val:setOverlayId(i)

but when I try to read it using code similar to:

         val = controls.get(ctlId):getValue("value")
         j = val:getOverlayId()

the value always comes back 0

This can be a lower priority – I rewrote the PCM 80 template to not use the overlayId field in the control/value.

Not fully debugged the change, but 90% looks good so far.

Seams as the whole Overlay is buggy. also the overlays.get (overlayId) command does not return a valid Overlay-Object.

@oldgearguy I really have hard time to reply to that one :slight_smile: I reviewed both calls, set and get. It works as expected :slight_smile:

Here’s a preset inspired by your code: Electra One App

also the overlays.get (overlayId) command does not return a valid Overlay-Object.

This is correct though. Just fixed it in the development version of the firmware.