diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-05 10:33:10 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-05-05 16:35:59 +0300 |
commit | b891c72d2da6c0e04569baac32da23c8b736aacf (patch) | |
tree | 55605c7c08517cb23ffdd836cce2b0c952855e53 /source/blender/editors/space_node/node_intern.hh | |
parent | 1830a3dfb5a1b5028c934d3dcc790da1d9ea67d0 (diff) |
Fix T97575: Toggling fullscreen causes compositor recalc
The root of the issue is that compositor is using refresh mechanism
to handle recalc.
The safest fix which does not require deep refactor is to check to
whether node space was tagged for refresh from listener (currently
it is listeners which are responsible for tackling compositor tree
recalc).
Differential Revision: https://developer.blender.org/D14856
Diffstat (limited to 'source/blender/editors/space_node/node_intern.hh')
-rw-r--r-- | source/blender/editors/space_node/node_intern.hh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/node_intern.hh b/source/blender/editors/space_node/node_intern.hh index 10d4ad36d95..4157176cd68 100644 --- a/source/blender/editors/space_node/node_intern.hh +++ b/source/blender/editors/space_node/node_intern.hh @@ -74,8 +74,14 @@ struct SpaceNode_Runtime { /** Mouse position for drawing socket-less links and adding nodes. */ float2 cursor; - /** For auto compositing. */ - bool recalc; + /* Indicates that the compositing tree in the space needs to be re-evaluated using the + * auto-compositing pipeline. + * Takes priority over the regular compsiting. */ + bool recalc_auto_compositing; + + /* Indicates that the compositing int the space tree needs to be re-evaluated using + * regular compositing pipeline. */ + bool recalc_regular_compositing; /** Temporary data for modal linking operator. */ std::unique_ptr<bNodeLinkDrag> linkdrag; |