[Bf-blender-cvs] [30d65c326aa] master: Python Templates: Update Custom Nodes tooltip

Dalai Felinto noreply at git.blender.org
Fri Jun 28 14:57:39 CEST 2019


Commit: 30d65c326aaef310f8a949dc0e99f0e3a656d307
Author: Dalai Felinto
Date:   Fri Jun 28 09:53:39 2019 -0300
Branches: master
https://developer.blender.org/rB30d65c326aaef310f8a949dc0e99f0e3a656d307

Python Templates: Update Custom Nodes tooltip

Since we exposed the editors sub-types to the type editor selector, this template
no longer shows in the head, but in the type editor selector.

===================================================================

M	release/scripts/templates_py/custom_nodes.py

===================================================================

diff --git a/release/scripts/templates_py/custom_nodes.py b/release/scripts/templates_py/custom_nodes.py
index 02dcaccbde4..ca9534e7cd3 100644
--- a/release/scripts/templates_py/custom_nodes.py
+++ b/release/scripts/templates_py/custom_nodes.py
@@ -7,7 +7,7 @@ from bpy.types import NodeTree, Node, NodeSocket
 # Derived from the NodeTree base type, similar to Menu, Operator, Panel, etc.
 class MyCustomTree(NodeTree):
     # Description string
-    '''A custom node tree type that will show up in the node editor header'''
+    '''A custom node tree type that will show up in the editor type list'''
     # Optional identifier string. If not explicitly defined, the python class name is used.
     bl_idname = 'CustomTreeType'
     # Label for nice name display



More information about the Bf-blender-cvs mailing list