Manually merged PR #929

This commit is contained in:
badlogic 2017-07-12 10:53:34 +02:00
parent 115ada277f
commit e3825e60c4
3 changed files with 5 additions and 0 deletions

View File

@ -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**

View File

@ -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);