mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-04 18:42:40 +08:00
fix particleSystem load bug (#2932)
This commit is contained in:
@@ -940,7 +940,7 @@ var ParticleSystem = cc.Class({
|
||||
},
|
||||
|
||||
_initTextureWithDictionary: function (dict) {
|
||||
var imgPath = cc.path.changeBasename(this._plistFile, dict["textureFileName"]);
|
||||
var imgPath = cc.path.changeBasename(this._plistFile, dict["textureFileName"] || '');
|
||||
// texture
|
||||
if (dict["textureFileName"]) {
|
||||
// Try to get the texture from the cache
|
||||
|
||||
Reference in New Issue
Block a user