kopia lustrzana https://github.com/backface/turtlestitch
Increase maximum clone count from 128 to 300
rodzic
f3b8d8dcef
commit
93960bc4fb
|
@ -1958,3 +1958,4 @@ ______
|
|||
131014
|
||||
------
|
||||
* Morphic: Condense damage list by merging overlapping dirty rectangles
|
||||
* Objects: Increase maximum clone count from 128 to 300
|
||||
|
|
|
@ -124,7 +124,7 @@ PrototypeHatBlockMorph*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.objects = '2013-October-08';
|
||||
modules.objects = '2013-October-14';
|
||||
|
||||
var SpriteMorph;
|
||||
var StageMorph;
|
||||
|
@ -2339,7 +2339,7 @@ SpriteMorph.prototype.createClone = function () {
|
|||
hats,
|
||||
stage = this.parentThatIsA(StageMorph);
|
||||
if (stage) {
|
||||
if (stage.cloneCount > 128) {return; }
|
||||
if (stage.cloneCount > 300) {return; }
|
||||
stage.cloneCount += 1;
|
||||
clone = this.fullCopy();
|
||||
clone.isClone = true;
|
||||
|
|
Ładowanie…
Reference in New Issue