[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43566] trunk/blender/source/blender/nodes /intern/node_socket.c: Minor fix for socket default value conversion.

Lukas Toenne lukas.toenne at googlemail.com
Fri Jan 20 17:13:34 CET 2012


Revision: 43566
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43566
Author:   lukastoenne
Date:     2012-01-20 16:13:26 +0000 (Fri, 20 Jan 2012)
Log Message:
-----------
Minor fix for socket default value conversion. The switch statement would not break correctly.

Modified Paths:
--------------
    trunk/blender/source/blender/nodes/intern/node_socket.c

Modified: trunk/blender/source/blender/nodes/intern/node_socket.c
===================================================================
--- trunk/blender/source/blender/nodes/intern/node_socket.c	2012-01-20 15:34:40 UTC (rev 43565)
+++ trunk/blender/source/blender/nodes/intern/node_socket.c	2012-01-20 16:13:26 UTC (rev 43566)
@@ -359,8 +359,8 @@
 		case SOCK_RGBA:
 			torgba->value[0] = torgba->value[1] = torgba->value[2] = torgba->value[3] = fromfloat->value;
 			break;
+		}
 		break;
-		}
 	case SOCK_INT:
 		switch (to_type) {
 		case SOCK_FLOAT:



More information about the Bf-blender-cvs mailing list