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:
@@ -1,5 +1,5 @@
|
|||||||
import bpy
|
import bpy
|
||||||
from bpy_types import NodeTree, Node, NodeSocket
|
from bpy.types import NodeTree, Node, NodeSocket
|
||||||
|
|
||||||
# Implementation of custom nodes from Python
|
# Implementation of custom nodes from Python
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user