mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Merge branch '3.8' into 3.9-beta
This commit is contained in:
commit
c07e813412
@ -7506,9 +7506,7 @@ var spine;
|
|||||||
};
|
};
|
||||||
Pool.prototype.freeAll = function (items) {
|
Pool.prototype.freeAll = function (items) {
|
||||||
for (var i = 0; i < items.length; i++) {
|
for (var i = 0; i < items.length; i++) {
|
||||||
if (items[i].reset)
|
this.free(items[i]);
|
||||||
items[i].reset();
|
|
||||||
this.items[i] = items[i];
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Pool.prototype.clear = function () {
|
Pool.prototype.clear = function () {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -7506,9 +7506,7 @@ var spine;
|
|||||||
};
|
};
|
||||||
Pool.prototype.freeAll = function (items) {
|
Pool.prototype.freeAll = function (items) {
|
||||||
for (var i = 0; i < items.length; i++) {
|
for (var i = 0; i < items.length; i++) {
|
||||||
if (items[i].reset)
|
this.free(items[i]);
|
||||||
items[i].reset();
|
|
||||||
this.items[i] = items[i];
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Pool.prototype.clear = function () {
|
Pool.prototype.clear = function () {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -7506,9 +7506,7 @@ var spine;
|
|||||||
};
|
};
|
||||||
Pool.prototype.freeAll = function (items) {
|
Pool.prototype.freeAll = function (items) {
|
||||||
for (var i = 0; i < items.length; i++) {
|
for (var i = 0; i < items.length; i++) {
|
||||||
if (items[i].reset)
|
this.free(items[i]);
|
||||||
items[i].reset();
|
|
||||||
this.items[i] = items[i];
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Pool.prototype.clear = function () {
|
Pool.prototype.clear = function () {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -7506,9 +7506,7 @@ var spine;
|
|||||||
};
|
};
|
||||||
Pool.prototype.freeAll = function (items) {
|
Pool.prototype.freeAll = function (items) {
|
||||||
for (var i = 0; i < items.length; i++) {
|
for (var i = 0; i < items.length; i++) {
|
||||||
if (items[i].reset)
|
this.free(items[i]);
|
||||||
items[i].reset();
|
|
||||||
this.items[i] = items[i];
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Pool.prototype.clear = function () {
|
Pool.prototype.clear = function () {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -7506,9 +7506,7 @@ var spine;
|
|||||||
};
|
};
|
||||||
Pool.prototype.freeAll = function (items) {
|
Pool.prototype.freeAll = function (items) {
|
||||||
for (var i = 0; i < items.length; i++) {
|
for (var i = 0; i < items.length; i++) {
|
||||||
if (items[i].reset)
|
this.free(items[i]);
|
||||||
items[i].reset();
|
|
||||||
this.items[i] = items[i];
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Pool.prototype.clear = function () {
|
Pool.prototype.clear = function () {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -7506,9 +7506,7 @@ var spine;
|
|||||||
};
|
};
|
||||||
Pool.prototype.freeAll = function (items) {
|
Pool.prototype.freeAll = function (items) {
|
||||||
for (var i = 0; i < items.length; i++) {
|
for (var i = 0; i < items.length; i++) {
|
||||||
if (items[i].reset)
|
this.free(items[i]);
|
||||||
items[i].reset();
|
|
||||||
this.items[i] = items[i];
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Pool.prototype.clear = function () {
|
Pool.prototype.clear = function () {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -313,8 +313,7 @@ module spine {
|
|||||||
|
|
||||||
freeAll (items: ArrayLike<T>) {
|
freeAll (items: ArrayLike<T>) {
|
||||||
for (let i = 0; i < items.length; i++) {
|
for (let i = 0; i < items.length; i++) {
|
||||||
if ((items[i] as any).reset) (items[i] as any).reset();
|
this.free(items[i]);
|
||||||
this.items[i] = items[i];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user