mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
Merge pull request #406 from pandamicro/master
Fix _uuid undefined issue in Editor
This commit is contained in:
@@ -132,13 +132,14 @@ function loadUuid (item, callback) {
|
||||
}
|
||||
}
|
||||
}
|
||||
asset._uuid = uuid;
|
||||
callback(null, asset);
|
||||
});
|
||||
}
|
||||
else {
|
||||
asset._uuid = uuid;
|
||||
callback(null, asset);
|
||||
}
|
||||
asset._uuid = uuid;
|
||||
|
||||
// tdInfo 是用来重用的临时对象,每次使用后都要重设,这样才对 GC 友好。
|
||||
tdInfo.reset();
|
||||
|
||||
Reference in New Issue
Block a user