diff --git a/plugins/spine/src/SpineFile.js b/plugins/spine/src/SpineFile.js index 63f4b2ea3..454c7596b 100644 --- a/plugins/spine/src/SpineFile.js +++ b/plugins/spine/src/SpineFile.js @@ -211,6 +211,7 @@ var SpineFile = new Class({ var atlasKey = ''; var combinedAtlasData = ''; var preMultipliedAlpha = (this.config.preMultipliedAlpha) ? true : false; + var textureManager = this.loader.textureManager; for (var i = 1; i < this.files.length; i++) { @@ -230,7 +231,10 @@ var SpineFile = new Class({ var pos = src.indexOf('_'); var key = src.substr(pos + 1); - this.loader.textureManager.addImage(key, file.data); + if (!textureManager.exists(key)) + { + textureManager.addImage(key, file.data); + } } file.pendingDestroy();