Skip to content

Commit 297c445

Browse files
committed
Enforce this on Container children only
1 parent 1d56c36 commit 297c445

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/spine/src/gameobject/SpineGameObject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ var SpineGameObject = new Class({
259259

260260
var result = (!this.skeleton || !(GameObjectRenderMask !== this.renderFlags || (this.cameraFilter !== 0 && (this.cameraFilter & camera.id))));
261261

262-
if (!container && !result)
262+
if (!container && !result && this.parentContainer)
263263
{
264264
var plugin = this.plugin;
265265
var sceneRenderer = plugin.sceneRenderer;

0 commit comments

Comments
 (0)