mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 00:22:43 +08:00
To determine whether the URL can be rewritten
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user