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
Tried the new version of blockly with zelos renderer and it keeps giving me an error when I'm trying to open the mutators on the default if function
Screenshots
Desktop (please complete the following information):
OS: Windows 10
Browser Chrome latest
Stack Traces
core.js:1673 ERROR TypeError: Blockly.Block.obtain is not a function
at Blockly.BlockSvg.decompose (blocks_uncompressed.js:461)
at Blockly.Mutator.setVisible (blockly_uncompressed.js:11856)
at Blockly.Mutator.Blockly.Icon.iconClick_ (blockly_uncompressed.js:9789)
at Blockly.Mutator.iconClick_ (blockly_uncompressed.js:11789)
at SVGGElement.h (blockly_uncompressed.js:9690)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423)
at Object.onInvokeTask (core.js:3811)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:422)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:195)
at ZoneTask.push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:498)
Additional context
The text was updated successfully, but these errors were encountered:
Oh never mind, I was used Blockly v2 function that was deprecated. Found this on the blockly source code Blockly.Block.obtain = function(workspace, prototypeName) { console.warn('Deprecated call to Blockly.Block.obtain, ' + 'use workspace.newBlock instead.'); return workspace.newBlock(prototypeName); };
Describe the bug
Tried the new version of blockly with zelos renderer and it keeps giving me an error when I'm trying to open the mutators on the default if function
Screenshots
Desktop (please complete the following information):
Stack Traces
Additional context
The text was updated successfully, but these errors were encountered: