Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2021-10-05 17:01:01 +0300
committerJulian Eisel <julian@blender.org>2021-10-05 17:10:27 +0300
commit758f3f7456ac1e31f411c4ac1b19760ad6e5539c (patch)
tree6250d84f5f188b887d3c2014ceeab5c619f3b0e8 /intern/cycles/integrator/pass_accessor_gpu.cpp
parentdbe3981b0a805c1a40f42f57dc7ccc3d28270fda (diff)
Fix T91940: Asset Browser catalogs continuously redraw
Issue was that the `on_activate()` callback of tree-items were continuously called, because the active-state was queried before we fully reconstructed the tree and its state from the previous redraw. Such issues could happen in more places, so I've refactored the API a bit to reflect the requirements for state queries, and include some sanity checks. The actual fix for the issue is to delay the state change until the tree is fully reconstructed, by letting the tree-items pass a callback to check if they should be active.
Diffstat (limited to 'intern/cycles/integrator/pass_accessor_gpu.cpp')
0 files changed, 0 insertions, 0 deletions