From 912a1e2820cc2c63d75feccd93c4552835ea0543 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Thu, 29 Sep 2022 11:59:02 -0500 Subject: 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. --- release/scripts/templates_py/custom_nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release') 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''' -- cgit v1.2.3