diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2016-06-23 03:41:46 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2016-06-23 04:15:57 +0300 |
commit | 9bce807d0b2f57ad32401fb2cc1080ab503a8a3c (patch) | |
tree | b7368c2bb51e67d769b49445d6aeb4401823c00a /intern/cycles | |
parent | 29448bd99bb05ae61e4d540981026bab87702f90 (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')
-rw-r--r-- | intern/cycles/graph/node_type.cpp | 1 |
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"), |