fix
parent
4f7c76ae60
commit
dcfeca57d7
|
@ -116,7 +116,8 @@ GameLib.System.Particle.prototype.beforeRender = function(data) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(particleEngine.templateParticle.mesh.parentScene instanceof GameLib.D3.Scene)) {
|
if (GameLib.Utils.UndefinedOrNull(particleEngine.templateParticle.mesh.parentScene) ||
|
||||||
|
GameLib.Utils.UndefinedOrNull(particleEngine.templateParticle.mesh.parentScene.instance)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue