[Bf-blender-cvs] [842a138] object_nodes: Duplicate enum values lead to creating mesh instead of dupli sockets in node groups.

Lukas Tönne noreply at git.blender.org
Wed Dec 23 18:46:42 CET 2015


Commit: 842a138071d5d26cf66dd6110d33fefd7b29f136
Author: Lukas Tönne
Date:   Wed Dec 23 18:46:04 2015 +0100
Branches: object_nodes
https://developer.blender.org/rB842a138071d5d26cf66dd6110d33fefd7b29f136

Duplicate enum values lead to creating mesh instead of dupli sockets in node groups.

===================================================================

M	release/scripts/nodes/socket_types.py

===================================================================

diff --git a/release/scripts/nodes/socket_types.py b/release/scripts/nodes/socket_types.py
index 03ba66c..06310f2 100644
--- a/release/scripts/nodes/socket_types.py
+++ b/release/scripts/nodes/socket_types.py
@@ -74,8 +74,8 @@ socket_type_items = [
     ("VECTOR", "Vector", "3D vector", 0, 2),
     ("COLOR", "Color", "RGBA color", 0, 3),
     ("MESH", "Mesh", "Mesh data", 0, 4),
-    ("DUPLIS", "Duplis", "Dupli instances", 0, 4),
-    ("TRANSFORM", "Transform", "Affine transformation", 0, 5),
+    ("DUPLIS", "Duplis", "Dupli instances", 0, 5),
+    ("TRANSFORM", "Transform", "Affine transformation", 0, 6),
     ]
 
 def socket_type_to_rna(base_type):




More information about the Bf-blender-cvs mailing list