mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 02:06:03 +08:00
Manually merged PR #929
This commit is contained in:
parent
b6f88e81b0
commit
4f0708deb0
Binary file not shown.
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user