Commit: 9bce807d0b2f57ad32401fb2cc1080ab503a8a3c
Author: Lukas Stockner
Date:   Thu Jun 23 02:41:46 2016 +0200
Branches: master
https://developer.blender.org/rB9bce807d0b2f57ad32401fb2cc1080ab503a8a3c

Cycles: Fix the Convert Node type registration

The function that assigns names to socket types missed an entry, therefore all 
entries after it were mapped to the wrong name.
Long-term, it might be a better solution to use a map to avoid issues like 
these, but for now this fix works.

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

M       intern/cycles/graph/node_type.cpp

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

diff --git a/intern/cycles/graph/node_type.cpp 
b/intern/cycles/graph/node_type.cpp
index 6c6035f..5b98de7 100644
--- a/intern/cycles/graph/node_type.cpp
+++ b/intern/cycles/graph/node_type.cpp
@@ -89,6 +89,7 @@ ustring SocketType::type_name(Type type)
                ustring("boolean"),
                ustring("float"),
                ustring("int"),
+               ustring("uint"),
                ustring("color"),
                ustring("vector"),
                ustring("point"),

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to