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:
authorLukas Stockner <lukas.stockner@freenet.de>2016-06-23 03:41:46 +0300
committerLukas Stockner <lukas.stockner@freenet.de>2016-06-23 04:15:57 +0300
commit9bce807d0b2f57ad32401fb2cc1080ab503a8a3c (patch)
treeb7368c2bb51e67d769b49445d6aeb4401823c00a /intern/cycles/graph
parent29448bd99bb05ae61e4d540981026bab87702f90 (diff)
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.
Diffstat (limited to 'intern/cycles/graph')
-rw-r--r--intern/cycles/graph/node_type.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/graph/node_type.cpp b/intern/cycles/graph/node_type.cpp
index 6c6035fdb22..5b98de778ad 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"),