Blender Git Loki
Git Commits -> Revision 5c421c3
Revision 5c421c3 by Ton Roosendaal (master) February 7, 2011, 16:41 (GMT) |
Todo/feature request When using masks or other simple 3D elements in composites, doing a layer re-rendering on a node is a bit clumsy all the time. This commit does two things to help: - new hotkey "Z" in node editor automatically finds render layer that changed and re-renders it + composites - option "Auto Render" does same, but then after every transform edit in 3D window The latter is experimental; real & proper system for this requires full threaded render support (like previews). But it works! Demo file: http://download.blender.org/demo/test/auto_composite.blend Important fix: After any render, all the render layers were tagged "changed", which caused any edit to first totally recomposte everthing. Now it only composites changes. Implementation notes - DAG scene flush now sets 'changed' flags in render layer nodes - Added notifier for 'transform finished' to trigger the update, this is temporarily. |
Commit Details:
Full Hash: 5c421c328e963fe27725e6961e60de74cca87c7f
SVN Revision: 34695
Parent Commit: 831ce61
Lines Changed: +138, -15
13 Modified Paths:
/release/scripts/ui/space_node.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+26, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+16, -4) (Diff)
/source/blender/editors/render/render_internal.c (+9, -2) (Diff)
/source/blender/editors/space_node/node_edit.c (+45, -0) (Diff)
/source/blender/editors/space_node/node_intern.h (+2, -1) (Diff)
/source/blender/editors/space_node/node_ops.c (+3, -0) (Diff)
/source/blender/editors/space_node/space_node.c (+19, -4) (Diff)
/source/blender/editors/transform/transform.c (+6, -2) (Diff)
/source/blender/makesdna/DNA_space_types.h (+4, -2) (Diff)
/source/blender/makesrna/intern/rna_space.c (+5, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+26, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+16, -4) (Diff)
/source/blender/editors/render/render_internal.c (+9, -2) (Diff)
/source/blender/editors/space_node/node_edit.c (+45, -0) (Diff)
/source/blender/editors/space_node/node_intern.h (+2, -1) (Diff)
/source/blender/editors/space_node/node_ops.c (+3, -0) (Diff)
/source/blender/editors/space_node/space_node.c (+19, -4) (Diff)
/source/blender/editors/transform/transform.c (+6, -2) (Diff)
/source/blender/makesdna/DNA_space_types.h (+4, -2) (Diff)
/source/blender/makesrna/intern/rna_space.c (+5, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+1, -0) (Diff)