The error was caused when previousActiveNode and blocklyNode were both undefined or null. For some reason, the error being generated in setBlockXML was causing the blocks to never update. This is consistent with what I've seen in JavaScript in that when something breaks somewhere, that piece of code stops working altogether.
The error was caused when
previousActiveNode
andblocklyNode
were both undefined or null. For some reason, the error being generated in setBlockXML was causing the blocks to never update. This is consistent with what I've seen in JavaScript in that when something breaks somewhere, that piece of code stops working altogether.@kadst43 @AmbientOSX