fix
parent
4f7c76ae60
commit
dcfeca57d7
|
@ -116,7 +116,8 @@ GameLib.System.Particle.prototype.beforeRender = function(data) {
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue