Manually merged PR #929

This commit is contained in:
badlogic 2017-07-12 10:54:27 +02:00
parent b6f88e81b0
commit 4f0708deb0
2 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,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);
if (texture == null) if (texture == null)