To determine whether the URL can be rewritten

This commit is contained in:
VisualSJ
2016-12-08 16:22:52 +08:00
parent f3cc24b430
commit ec0b965d10
+1 -1
View File
@@ -253,7 +253,7 @@ JS.mixin(Pipeline.prototype, {
for (i = 0; i < items.length; i++) {
item = items[i];
var url = cc.AssetLibrary._getAssetUrl(item.uuid);
if (url && url !== item.url) {
if (url && !item.url) {
item.id = item.url = url;
}
this._cache[item.id] = item;