Remove block glows from sequencer

This commit is contained in:
Tim Mickel 2016-05-03 17:18:21 -04:00
parent c03e378b85
commit 79b50e5172

View file

@ -131,7 +131,6 @@ Sequencer.prototype.stepThread = function (thread) {
thread.status = Thread.STATUS_DONE; thread.status = Thread.STATUS_DONE;
// Refresh nextBlock in case it has changed during a yield. // Refresh nextBlock in case it has changed during a yield.
thread.nextBlock = instance.runtime._getNextBlock(currentBlock); thread.nextBlock = instance.runtime._getNextBlock(currentBlock);
instance.runtime.glowBlock(currentBlock, false);
// Pop the stack and stack frame // Pop the stack and stack frame
thread.stack.pop(); thread.stack.pop();
thread.stackFrames.pop(); thread.stackFrames.pop();
@ -181,7 +180,6 @@ Sequencer.prototype.stepThread = function (thread) {
} else { } else {
thread.nextBlock = null; thread.nextBlock = null;
} }
instance.runtime.glowBlock(currentBlock, false);
switchedStack = true; switchedStack = true;
}; };
@ -210,7 +208,6 @@ Sequencer.prototype.stepThread = function (thread) {
} }
else { else {
try { try {
this.runtime.glowBlock(currentBlock, true);
// @todo deal with the return value // @todo deal with the return value
blockFunction(argValues, { blockFunction(argValues, {
yield: threadYieldCallback, yield: threadYieldCallback,