kopia lustrzana https://github.com/backface/turtlestitch
speed-up WARP by eliminating the yield at the end
now possible due to the new Morphic2 architecturepull/95/head
rodzic
f9369fe501
commit
8aa65c7c85
|
@ -2074,8 +2074,10 @@ Process.prototype.doWarp = function (body) {
|
|||
stage.fps = 0; // variable frame rate
|
||||
}
|
||||
}
|
||||
this.pushContext('doYield');
|
||||
this.context.isCustomBlock = isCustomBlock;
|
||||
// this.pushContext('doYield'); // no longer needed in Morphic2
|
||||
if (this.context) {
|
||||
this.context.isCustomBlock = isCustomBlock;
|
||||
}
|
||||
if (!this.isAtomic) {
|
||||
this.pushContext('doStopWarping');
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue