diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-07-30 12:30:15 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-07-30 12:30:15 +0400 |
commit | 7e02d82036c86a1817e3c644d54b4c8abd6f2093 (patch) | |
tree | 98853e1842687c953628b7231f6b416d46806338 /release | |
parent | 90eec891254502ec64c98184ca2dcd6333311660 (diff) |
Minor change to the custom_nodes.py template that has some consequences for addons: use bpy.types.* base classes instead of bpy_types.*
The bpy_types classes cause issues when used in addons when loading on Blender startup (subclasses cannot be properly registered).
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/templates_py/custom_nodes.py | 2 |
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 d5bb71416c9..5f002f37161 100644 --- a/release/scripts/templates_py/custom_nodes.py +++ b/release/scripts/templates_py/custom_nodes.py @@ -1,5 +1,5 @@ import bpy -from bpy_types import NodeTree, Node, NodeSocket +from bpy.types import NodeTree, Node, NodeSocket # Implementation of custom nodes from Python |