Blueprint icon indicating copy to clipboard operation
Blueprint copied to clipboard

Fix Cache Tree Cache Misses

Open kyleve opened this issue 3 years ago • 0 comments

Due to float addition and subtraction that happens throughout layout, it was common to end up with 210.0 getting turned into 209.999997 (etc) throughout. This was causing needless cache misses. To resolve, I introduced pixel-based rounding to the cache tree so the cached constraint keys land on a display pixel.

kyleve avatar Aug 05 '22 00:08 kyleve