Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-09-29 19:59:02 +0300
committerHans Goudey <h.goudey@me.com>2022-09-29 19:59:02 +0300
commit912a1e2820cc2c63d75feccd93c4552835ea0543 (patch)
tree107af17c94859dc0a8800d7ef151167054f55bea /release
parentc007e84e9ec6b7283b871979a8fdb80f8c7819ed (diff)
Fix: Order of node mixins in custom nodes python template
See T101259. This order makes the poll not work, even when called from Python. The bundled template shouldn't be a source of errors for node addons.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/templates_py/custom_nodes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/templates_py/custom_nodes.py b/release/scripts/templates_py/custom_nodes.py
index fba94e23d0d..fd2dfe91b39 100644
--- a/release/scripts/templates_py/custom_nodes.py
+++ b/release/scripts/templates_py/custom_nodes.py
@@ -61,7 +61,7 @@ class MyCustomTreeNode:
# Derived from the Node base type.
-class MyCustomNode(Node, MyCustomTreeNode):
+class MyCustomNode(MyCustomTreeNode, Node):
# === Basics ===
# Description string
'''A custom node'''