virtual-world-framework/mars-game — pull request #41 by scottnc27603 (2014-05-01 01:43:32+00:00)
Title: Branch/block limit

This is the correct way to set the maximum number of blocks, however this is not working just yet. Good ole VWF order of initialization issue. However, from the console you can enter:

Blockly.mainWorkspace.maxBlocks = 10

And that will work. I want to go ahead and merge this back to master and then, fix all of the visibility issues in the blockly-viz branch. When the Blockly UI is shown the html view will have to set the maxBlocks variable inside of the mainWorkspace since the maximum number of blocks is object dependent.