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:
Diffstat (limited to 'release')
-rw-r--r--release/scripts/modules/bpy_types.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py
index 55ba82c5817..204a9bcd261 100644
--- a/release/scripts/modules/bpy_types.py
+++ b/release/scripts/modules/bpy_types.py
@@ -853,6 +853,10 @@ class Node(StructRNA, metaclass=RNAMetaNode):
return True
+class NodeInternal(Node):
+ __slots__ = ()
+
+
class NodeSocket(StructRNA, metaclass=RNAMetaPropGroup):
__slots__ = ()
@@ -869,7 +873,7 @@ class NodeSocketInterface(StructRNA, metaclass=RNAMetaPropGroup):
# These are intermediate subclasses, need a bpy type too
-class CompositorNode(Node):
+class CompositorNode(NodeInternal):
__slots__ = ()
@classmethod
@@ -880,7 +884,7 @@ class CompositorNode(Node):
self.tag_need_exec()
-class ShaderNode(Node):
+class ShaderNode(NodeInternal):
__slots__ = ()
@classmethod
@@ -888,7 +892,7 @@ class ShaderNode(Node):
return ntree.bl_idname == 'ShaderNodeTree'
-class TextureNode(Node):
+class TextureNode(NodeInternal):
__slots__ = ()
@classmethod