diff options
Diffstat (limited to 'release/scripts/startup/nodeitems_builtins.py')
-rw-r--r-- | release/scripts/startup/nodeitems_builtins.py | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/release/scripts/startup/nodeitems_builtins.py b/release/scripts/startup/nodeitems_builtins.py index e7c00f4915e..737ea9350b3 100644 --- a/release/scripts/startup/nodeitems_builtins.py +++ b/release/scripts/startup/nodeitems_builtins.py @@ -64,7 +64,8 @@ node_tree_group_type = { 'GeometryNodeTree': 'GeometryNodeGroup', } -# Custom Menu for Geometry Node Curves + +# Custom Menu for Geometry Node Curves. def curve_node_items(context): if context is None: return @@ -100,7 +101,8 @@ def curve_node_items(context): yield NodeItem("GeometryNodeSetSplineResolution") yield NodeItem("GeometryNodeCurveSplineType") -# Custom Menu for Geometry Node Mesh + +# Custom Menu for Geometry Node Mesh. def mesh_node_items(context): if context is None: return @@ -131,7 +133,8 @@ def mesh_node_items(context): yield NodeItemCustom(draw=lambda self, layout, context: layout.separator()) yield NodeItem("GeometryNodeSetShadeSmooth") -# Custom Menu for Geometry Nodes "Geometry" category + +# Custom Menu for Geometry Nodes "Geometry" category. def geometry_node_items(context): if context is None: return @@ -154,7 +157,8 @@ def geometry_node_items(context): yield NodeItem("GeometryNodeSetID") yield NodeItem("GeometryNodeSetPosition") -# Custom Menu for Geometry Node Input Nodes + +# Custom Menu for Geometry Node Input Nodes. def geometry_input_node_items(context): if context is None: return @@ -181,7 +185,8 @@ def geometry_input_node_items(context): yield NodeItem("GeometryNodeInputRadius") yield NodeItem("GeometryNodeInputSceneTime") -# Custom Menu for Material Nodes + +# Custom Menu for Material Nodes. def geometry_material_node_items(context): if context is None: return @@ -196,7 +201,8 @@ def geometry_material_node_items(context): yield NodeItem("GeometryNodeSetMaterial") yield NodeItem("GeometryNodeSetMaterialIndex") -# Custom Menu for Geometry Node Points + +# Custom Menu for Geometry Node Points. def point_node_items(context): if context is None: return @@ -210,7 +216,8 @@ def point_node_items(context): yield NodeItemCustom(draw=lambda self, layout, context: layout.separator()) yield NodeItem("GeometryNodeSetPointRadius") -# generic node group items generator for shader, compositor, geometry and texture node groups + +# Generic node group items generator for shader, compositor, geometry and texture node groups. def node_group_items(context): if context is None: return |