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.
This commit is contained in:
@@ -7,7 +7,7 @@ from bpy.types import NodeTree, Node, NodeSocket
|
|||||||
# Derived from the NodeTree base type, similar to Menu, Operator, Panel, etc.
|
# Derived from the NodeTree base type, similar to Menu, Operator, Panel, etc.
|
||||||
class MyCustomTree(NodeTree):
|
class MyCustomTree(NodeTree):
|
||||||
# Description string
|
# 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.
|
# Optional identifier string. If not explicitly defined, the python class name is used.
|
||||||
bl_idname = 'CustomTreeType'
|
bl_idname = 'CustomTreeType'
|
||||||
# Label for nice name display
|
# Label for nice name display
|
||||||
|
Reference in New Issue
Block a user