mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 20:23:19 +00:00
Enforce this on Container children only
This commit is contained in:
parent
1d56c360af
commit
297c44595a
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ var SpineGameObject = new Class({
|
|||
|
||||
var result = (!this.skeleton || !(GameObjectRenderMask !== this.renderFlags || (this.cameraFilter !== 0 && (this.cameraFilter & camera.id))));
|
||||
|
||||
if (!container && !result)
|
||||
if (!container && !result && this.parentContainer)
|
||||
{
|
||||
var plugin = this.plugin;
|
||||
var sceneRenderer = plugin.sceneRenderer;
|
||||
|
|
Loading…
Reference in a new issue