Load images from atlas path.

This commit is contained in:
Nick Tipping 2019-12-04 17:52:08 +00:00
parent 35e8377869
commit 294adfc707

View file

@ -166,7 +166,7 @@ var SpineFile = new Class({
var currentPrefix = loader.prefix;
var baseURL = GetFastValue(config, 'baseURL', this.baseURL);
var path = GetFastValue(config, 'path', this.path);
var path = GetFastValue(config, 'path', file.src.match(/^.*\//))[0];
var prefix = GetFastValue(config, 'prefix', this.prefix);
var textureXhrSettings = GetFastValue(config, 'textureXhrSettings');