cables-gl / cables_docs

cables documentation docs.cables.gl
https://cables.gl/docs/docs
45 stars 16 forks source link

Bug after last update, editor isn't accessible #801

Open bbbbbgdn opened 4 months ago

bbbbbgdn commented 4 months ago

This is original patch, I can't provide it simple, It give this error at the start, making editor inaccessible https://dev.cables.gl/p/ZVoYg8

Error is:

Screenshot 2024-07-10 at 14 03 43
"gui.opParams.op is null
TypeError: gui.opParams.op is null
        {
            gui.opParams.on("opSelected", () =>
            {
                let foundPreview = false;
                const ports = gui.opParams.op.portsOut;

                for (let i = 0; i < ports.length; i++)
                {
                    if (!foundPreview && ports[i].uiAttribs.preview)"

How To Reproduce

  1. Open Editor
  2. Get an Error

Platform Tested in FF 127.0.2 (64-bit)

pandrr commented 4 months ago

does not have anuything to do with your patch, it runs fine.

the error is because dev is in development and can have bugs