Is this a bug or I’m missing something in the way h2d.Graphics
should be used?
Here’s an example that reproduces this: https://miriti.github.io/heaps_graphics_disappear/html5/
Code: https://github.com/miriti/heaps_graphics_disappear/blob/master/Main.hx
Pressing SPACE will remove/add from/to s2d
the same h2d.Object
that contains a h2d.Tile
(red background) and h2d.Graphics
(green circle) in it. After the Object once removed and attached for the second time the Graphics object isn’t visible while Tile is still there. Looks as if it was disposed at the moment the parent object was removed from it’s parent.
UPD: Forgot to mention: I’m using git version of heaps, haxe v4.1.4 on linux