Blender Git Commit Log
Git Commits -> Revision 6f0aca7
Revision 6f0aca7 by Sergey Sharybin (master) July 1, 2020, 13:08 (GMT) |
Fix T78264: Auto Render stops working after rendering manually Was caused by weird and feedback-loop based issue from a long time ago. The auto-render was only happening for nodes which are tagged for exec. This tag is assigned by edit operations on the tree (for example, when adding or removing links). It is also set in the render pipeline for nodes which are to be executed. The issues comes from the fact that "life updates" during editing did not clear the need_exec flag, ever. This made it so Auto Render was working as expected. However, rendering the scene resets need_exec flags at the end of rendering using ntreeCompositClearTags(). The actual need of such clear is not very clear, but it was making it so Auto Render does not work after render. To my knowledge the flag didn't really meant that the node is connected to the output, so it couldn't have acted as attempt to ignore rendering of an unused scene. It also should be possible to auto-render even if node tree itself was never altered. Long story short: lets ignore need_exec flag in auto-render check and render scene node if the scene is used by the node. Differential Revision: https://developer.blender.org/D8171 |
Commit Details:
Full Hash: 6f0aca79734834a75033b128954d5c44a9541fdd
Parent Commit: 6a302e6
Lines Changed: +5, -1
1 Modified Path:
/source/blender/editors/space_node/node_edit.c (+5, -1) (Diff)