Open Ardescar opened 4 years ago
Another screenshot from art0007i with a different setup with the same result.
This is side effect of the UIX canvas rebuilding the material lists when the composition of it changes. When there's no active text, it regenerates the material list to exclude it from the rendering, which causes the brief flicker.
I plan on extending the system to better synchronize those changes with renderer and prevent the flickers, but that's a bit long term solution now.
i found and traced together with art0007i
Setup to reproduce is:
create a simple uix canvas and put a text and a image in
with logix the text should then be changed to a empty string (or manually)
Then when the text-content is deleted manually (only from desktop with select all) or when i use Logix to remove the text then the canvas does flicker.
If the image is visible while it flickers then a white text does appear for one frame when the text-content is removed.
When the text is only changed to another letter-containing-text then it works without flicker. It only does flicker when the new Text is Empty or a Space.
Video - https://www.strzl.de/video/flickermore.mp4