You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create(){letboy1=this.add.spine(120,400,'boy','idle',true).setScale(0.5);boy1.drawDebug=true;letboy2=this.add.spine(400,400,'boy','idle',true).setScale(0.5);letimage1=this.add.image(200,450,'logo').setOrigin(0);letcontainer=this.add.container();container.add([boy1,boy2,image1]);// boy2.visible = false; // uncomment this to show fault, only 2nd boy should disappear}
Additional Information
Roughly, the debug drawing clears the sceneRenderer.batcher.isDrawing, which in turn skips the sceneRenderer.end() & plugin.renderer.pipelines.rebind() in willRender().
The text was updated successfully, but these errors were encountered:
Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.
Version
Description
Place the following in a container: spine1 (drawDebug=true), spine2, image1
you will see both spines and the image, the spine1 will be displaying the debug draw.
now set visible=false on spine2, would expect only spine2 to disapper but the image1 disappears as well.
Example Test Code
go to labs example: here
replace create() with this:
Additional Information
Roughly, the debug drawing clears the sceneRenderer.batcher.isDrawing, which in turn skips the sceneRenderer.end() & plugin.renderer.pipelines.rebind() in willRender().
The text was updated successfully, but these errors were encountered: