diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-01-20 20:13:26 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-01-20 20:13:26 +0400 |
commit | bddc01a7e197b651a74ec0870e9b27427aaeb890 (patch) | |
tree | 66b3d4a3cdf011c0689a63944af2c2fe906af2e9 /source/blender | |
parent | 172685322638f92906ef3baf39d92399903bdfb3 (diff) |
Minor fix for socket default value conversion. The switch statement would not break correctly.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/nodes/intern/node_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/node_socket.c b/source/blender/nodes/intern/node_socket.c index 8f468a574a1..4f8ba032873 100644 --- a/source/blender/nodes/intern/node_socket.c +++ b/source/blender/nodes/intern/node_socket.c @@ -359,8 +359,8 @@ void node_socket_convert_default_value(int to_type, void *to_default_value, int case SOCK_RGBA: torgba->value[0] = torgba->value[1] = torgba->value[2] = torgba->value[3] = fromfloat->value; break; - break; } + break; case SOCK_INT: switch (to_type) { case SOCK_FLOAT: |