You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
So, I have tried to add them in VueBlocksContainer, this.blocks.find(t => t.id === block.id).outputs.push({ active: false, label: 'New Match', name: 'NewMatch' })
But, as soon as this.updateScene() runs, they are cleared.
Any tips on dynamically adding outputs?
Thanks!
The text was updated successfully, but these errors were encountered:
I think your solution with clonedBlocks.map is correct.
The only problem is if you change the inputs/outputs of the block(in "blocksContent" array), they will not be updated in the saved scene.
Perhaps you should write some functionality that adds missing inputs/outputs to the prepareBlocks function.
Although I can see that there is a merge of objects happening there, so there is a chance the problem will be solved automatically. Unfortunately, I am not able to verify this at the moment.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
So, I have tried to add them in VueBlocksContainer,
this.blocks.find(t => t.id === block.id).outputs.push({ active: false, label: 'New Match', name: 'NewMatch' })
But, as soon as this.updateScene() runs, they are cleared.
Any tips on dynamically adding outputs?
Thanks!
The text was updated successfully, but these errors were encountered: