Blender Git Loki

Git Commits -> Revision 9e152f9

Revision 9e152f9 by Miguel Porces (master)
March 16, 2019, 19:36 (GMT)
Python API: add Python-defined node groups for shaders and compositing.

This was already supported for Cycles shader nodes, but now also works for
Eevee and compositing nodes. Instead of a generic NodeCustomGroup, now
there is ShaderNodeCustomGroup and CompositorNodeCustomGroup that can be
subclassed and registered.

Differential Revision: https://developer.blender.org/D4370

Commit Details:

Full Hash: 9e152f919f2f86cbe3530c6adc34373ebc703904
Parent Commit: 5797a5f
Committed By: Brecht Van Lommel
Lines Changed: +107, -24

17 Modified Paths:

/intern/cycles/blender/blender_shader.cpp (+7, -2) (Diff)
/release/scripts/startup/nodeitems_builtins.py (+3, -1) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/material.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/node.c (+3, -3) (Diff)
/source/blender/compositor/intern/COM_NodeGraph.cpp (+1, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+1, -1) (Diff)
/source/blender/editors/space_node/node_relationships.c (+2, -2) (Diff)
/source/blender/editors/space_node/node_templates.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+61, -5) (Diff)
/source/blender/nodes/composite/nodes/node_composite_common.c (+6, -0) (Diff)
/source/blender/nodes/NOD_composite.h (+2, -0) (Diff)
/source/blender/nodes/NOD_shader.h (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_common.c (+8, -0) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+4, -3) (Diff)
/source/blender/render/intern/source/pipeline.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021