Blender Git Loki
Git Commits -> Revision 9f58409
December 11, 2015, 08:16 (GMT) |
Minimal RNA API of the depsgraph for registering object node dependencies. This simply reflects the existing C API for the depsgraph, as already used by modifiers. The object nodes gain two callbacks, one for depsgraph relations and one for registering globals. Since both of these should require the same objects and other ID blocks to be registered, they share a common `relations_update` function on the pynode level for convenience. |
Commit Details:
Full Hash: 9f584095d7e4584280613cdaa0a0c097723c2313
Parent Commit: 99e9984
Lines Changed: +282, -27
18 Modified Paths:
/release/scripts/nodes/common_nodes.py (+35, -1) (Diff)
/release/scripts/nodes/geometry_nodes.py (+7, -0) (Diff)
/release/scripts/nodes/group_nodes.py (+5, -0) (Diff)
/release/scripts/nodes/node_compiler.py (+4, -2) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/effect.c (+4, -2) (Diff)
/source/blender/blenvm/bvm/bvm_eval.cc (+5, -4) (Diff)
/source/blender/blenvm/bvm/bvm_eval.h (+1, -1) (Diff)
/source/blender/blenvm/bvm/bvm_eval_curve.h (+11, -4) (Diff)
/source/blender/blenvm/bvm/bvm_opcode.h (+1, -1) (Diff)
/source/blender/blenvm/BVM_api.h (+4, -2) (Diff)
/source/blender/blenvm/compile/bvm_nodegraph.cc (+3, -0) (Diff)
/source/blender/blenvm/intern/bvm_api.cc (+27, -2) (Diff)
/source/blender/depsgraph/DEG_depsgraph_build.h (+2, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_build_relations.cc (+29, -1) (Diff)
/source/blender/makesrna/intern/rna_blenvm.c (+32, -7) (Diff)
/source/blender/makesrna/intern/rna_depsgraph.c (+95, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+14, -0) (Diff)
/release/scripts/nodes/geometry_nodes.py (+7, -0) (Diff)
/release/scripts/nodes/group_nodes.py (+5, -0) (Diff)
/release/scripts/nodes/node_compiler.py (+4, -2) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/effect.c (+4, -2) (Diff)
/source/blender/blenvm/bvm/bvm_eval.cc (+5, -4) (Diff)
/source/blender/blenvm/bvm/bvm_eval.h (+1, -1) (Diff)
/source/blender/blenvm/bvm/bvm_eval_curve.h (+11, -4) (Diff)
/source/blender/blenvm/bvm/bvm_opcode.h (+1, -1) (Diff)
/source/blender/blenvm/BVM_api.h (+4, -2) (Diff)
/source/blender/blenvm/compile/bvm_nodegraph.cc (+3, -0) (Diff)
/source/blender/blenvm/intern/bvm_api.cc (+27, -2) (Diff)
/source/blender/depsgraph/DEG_depsgraph_build.h (+2, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_build_relations.cc (+29, -1) (Diff)
/source/blender/makesrna/intern/rna_blenvm.c (+32, -7) (Diff)
/source/blender/makesrna/intern/rna_depsgraph.c (+95, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+14, -0) (Diff)