mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-11 09:38:44 +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 rotated regions in texture atlas loaded via StarlingAtlasAttachmentLoader.
|
||||
* Added support for vertex effects. See `RaptorExample.as`
|
||||
* Added 'getTexture()' method to 'StarlingTextureAtlasAttachmentLoader'
|
||||
|
||||
## C
|
||||
* **Breaking changes**
|
||||
|
||||
Binary file not shown.
@ -56,6 +56,10 @@ package spine.starling {
|
||||
|
||||
Bone.yDown = true;
|
||||
}
|
||||
|
||||
protected function getTexture(path:String):Texture {
|
||||
return atlas.getTexture(path);
|
||||
}
|
||||
|
||||
public function newRegionAttachment(skin : Skin, name : String, path : String) : RegionAttachment {
|
||||
var texture : Texture = atlas.getTexture(path);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user