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).
This commit is contained in:
Lukas Toenne
2013-07-30 08:30:15 +00:00
parent 90eec89125
commit 7e02d82036

View File

@@ -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