mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 02:06:03 +08:00
Merge branch 'origin/master'
This commit is contained in:
commit
c4feeeb310
@ -129,7 +129,7 @@ namespace Spine {
|
|||||||
// ---
|
// ---
|
||||||
|
|
||||||
override public String ToString () {
|
override public String ToString () {
|
||||||
return Name != null ? Name : base.ToString();
|
return Name ?? base.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -742,7 +742,7 @@ spine.RegionAttachment.prototype = {
|
|||||||
vertices[6/*X4*/] = offset[6/*X4*/] * m00 + offset[7/*Y4*/] * m01 + x;
|
vertices[6/*X4*/] = offset[6/*X4*/] * m00 + offset[7/*Y4*/] * m01 + x;
|
||||||
vertices[7/*Y4*/] = offset[6/*X4*/] * m10 + offset[7/*Y4*/] * m11 + y;
|
vertices[7/*Y4*/] = offset[6/*X4*/] * m10 + offset[7/*Y4*/] * m11 + y;
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
spine.AnimationStateData = function (skeletonData) {
|
spine.AnimationStateData = function (skeletonData) {
|
||||||
this.skeletonData = skeletonData;
|
this.skeletonData = skeletonData;
|
||||||
@ -1291,11 +1291,11 @@ spine.AtlasReader.prototype = {
|
|||||||
tuple[i] = this.trim(line.substring(lastMatch));
|
tuple[i] = this.trim(line.substring(lastMatch));
|
||||||
return i + 1;
|
return i + 1;
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
spine.AtlasAttachmentLoader = function (atlas) {
|
spine.AtlasAttachmentLoader = function (atlas) {
|
||||||
this.atlas = atlas;
|
this.atlas = atlas;
|
||||||
}
|
};
|
||||||
spine.AtlasAttachmentLoader.prototype = {
|
spine.AtlasAttachmentLoader.prototype = {
|
||||||
newAttachment: function (skin, type, name) {
|
newAttachment: function (skin, type, name) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
@ -1315,4 +1315,4 @@ spine.AtlasAttachmentLoader.prototype = {
|
|||||||
}
|
}
|
||||||
throw "Unknown attachment type: " + type;
|
throw "Unknown attachment type: " + type;
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user