mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Manually merged PR #929
This commit is contained in:
parent
115ada277f
commit
e3825e60c4
@ -25,6 +25,7 @@
|
|||||||
* Added support for clipping.
|
* Added support for clipping.
|
||||||
* Added support for rotated regions in texture atlas loaded via StarlingAtlasAttachmentLoader.
|
* Added support for rotated regions in texture atlas loaded via StarlingAtlasAttachmentLoader.
|
||||||
* Added support for vertex effects. See `RaptorExample.as`
|
* Added support for vertex effects. See `RaptorExample.as`
|
||||||
|
* Added 'getTexture()' method to 'StarlingTextureAtlasAttachmentLoader'
|
||||||
|
|
||||||
## C
|
## C
|
||||||
* **Breaking changes**
|
* **Breaking changes**
|
||||||
|
|||||||
Binary file not shown.
@ -56,6 +56,10 @@ package spine.starling {
|
|||||||
|
|
||||||
Bone.yDown = true;
|
Bone.yDown = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected function getTexture(path:String):Texture {
|
||||||
|
return atlas.getTexture(path);
|
||||||
|
}
|
||||||
|
|
||||||
public function newRegionAttachment(skin : Skin, name : String, path : String) : RegionAttachment {
|
public function newRegionAttachment(skin : Skin, name : String, path : String) : RegionAttachment {
|
||||||
var texture : Texture = atlas.getTexture(path);
|
var texture : Texture = atlas.getTexture(path);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user