beta.r3js.org
-=yb4f310 2017-11-14 11:45:37 +01:00
parent 4f7c76ae60
commit dcfeca57d7
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}