diff options
author | Julian Eisel <julian@blender.org> | 2021-10-05 15:25:40 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-10-05 17:10:27 +0300 |
commit | dbe3981b0a805c1a40f42f57dc7ccc3d28270fda (patch) | |
tree | c646101190ece7bf46ee025b79c261b792abb08e /intern/cycles/integrator/pass_accessor_gpu.cpp | |
parent | 9a0850c8c25ea0c28f6ac313f076fd6a8563d0b4 (diff) |
Cleanup: Better way to pass activate callbacks to Tree-View items
The `ui::BasicTreeViewItem` took a function-like object to execute on
item activation via the constructor. This was mainly intended to be used
with lambdas. However, it's confusing to just have this lambda there,
with no indication of what it's for (activation).
Instead, assign the function-like object via an explicit `on_activate()`
function.
Diffstat (limited to 'intern/cycles/integrator/pass_accessor_gpu.cpp')
0 files changed, 0 insertions, 0 deletions