cables-gl / cables_docs

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

Patch Bricked Overnight #738

Closed sebastianpetrovski closed 6 months ago

sebastianpetrovski commented 6 months ago

A patch I've been working on seems to have bricked itself over night.

Among other things, it seems like any bools lost their state.

Here's a list of things I found so far:

-Mainloop was set to inactive and all bool options also set to 0 -any DivElements have had all the boolean options set to 0 -Mesh Renderers set to inactive -any loose BoolOps were set to 0 -AudioBuffers had their create loading status set to 0 and play set to 0 -CSS ops all turned off -CSS3D elements seem to have their scaling completely out of wack -plus I guess much more because I haven't figure out how to get the patch working again (its big and messy)

this div was not a tiny dot last time i checked šŸ˜‚ all the other divs are behaving strangely also image

The backup from yesterday is bricked too.

I was able to restore a back-up from 2 days ago and saved it with a new patch name for safety.

The version on dev seems to be working, however it's throwing an error that wasn't there before and I haven't fully tested it yet. image

I've got backup json files from my embed exports yesterday, but I don't know how to get them back into cables. The documentation says something about re-importing but I can't find that option - is it possible?

Dev Tools screengrab of the inspector viewing the bricked patch in the editor on main site image

extra note I just saw this on main cables - I guess I bricked it by testing something on dev, saving and then re-opening on main? image

pandrr commented 6 months ago

it is not bricked, it will continue to work on dev.cables.gl, but you can't open it on regular cables.gl until the next update.

i hope that helps. otherwise you could load an old backup

sebastianpetrovski commented 6 months ago

Ok, cool - easy - thanks for the quick reply Pandrr!

pandrr commented 6 months ago

deployed a hotfix. patches saved on dev should now load on normal cables.gl without problems

sebastianpetrovski commented 6 months ago

Thanks Pandrr! Just checked and the patch works on normal cables.