Open alexanderGugel opened 9 years ago
There is a similar problem with Mesh#onOpacityChange
, Mesh#onSizeChange
, Mesh#onTransformChange
, Mesh#onHide
, Mesh#onShow
.
Basically, the issue is code like this:
Mesh.prototype.onShow = function onShow () {
this._changeQueue.push(Commands.GL_MESH_VISIBILITY, true);
this._requestUpdate();
};
We can't simply append the command to the change queue at this point. The WITH
commands hasn't been sent at this point. Therefore the commands won't be interpreted correctly by the Compositor.
Bug #439 might also be relevant.
Steps to reproduce
removeChild
on parentExample (self-contained)
Relevant code sample
Error
Cause
The commands sent by
Mesh#onDismount
are incorrect. They don't include a node location/ path. Therefore the compositor can't split the command.