I make a simple text inside a rectangle and then attached to a mesh with linkWithMesh.
As you can see the GUI seems dirty. If i comment out linkWithMesh all work fine.
Any idea?
Hi and Happy New Year to you,
Just like that, it looks to me like the GUI is not finished building when the scene renders.
Simply resizing the canvas makes the artefact go.
doesn’t look wrong to me.
I was rather thinking about delaying the scene creation but this new PG is kind of weird.
I can now see @Evgeni_Popov replying, probably he knows better what’s going on here…
Thank You @carolhmj,
i’ve many gui elements on my application, is ther any contraindication or side effect using useInvalidateRectOptimization = false ?
invalidateRect is mostly used to not clear the entire area of the GUI if things don’t change between frames, so it improves performance a bit, but the GUI drawing should still be efficient even if turned off. If you notice bad performance when it’s off, please let us know so we can look into it