Closed rMazeiks closed 1 year ago
Thank you for reporting this bug. The issue is that re-inserting OutlineBundle
resets the state of the ComputedOutlineDepth
component and this isn't detected in the propagation system. I've committed ac9ae75cef966119809cb54e828fda7f89f0dcbe to fix this and will make a new point release soon.
Released 0.4.2.
Awesome; could not reproduce with 0.4.2 :tada:
Thanks again and congrats on the release!
Hiya! Thanks for the amazing crate!
I found a bug that makes the outline effect disappear if the OutlineBundle is inserted again (overwriting the original one).
Consider this code, adapted from one of the examples:
The outline correctly appears on the first frame, then disappears. It's as if inserting a new
OutlineBundle
to overwrite the existing one breaks the effect.If we don't add the
overwrite_outline
system, the example works as expected (gray cube with orange outline)I was expecting to be able to freely insert the outline bundle as many times as I like, and the effect to update accordingly. Surely this is a bug?
I can easily work around this, just thought you'd want to know about it.