Bugfix #27305
authorTon Roosendaal <ton@blender.org>
Tue, 10 May 2011 16:30:03 +0000 (16:30 +0000)
committerTon Roosendaal <ton@blender.org>
Tue, 10 May 2011 16:30:03 +0000 (16:30 +0000)
RGB color node supports to set alpha too but never put alpha in the output.
Report + fix provided by Dani G. Thanks!

source/blender/nodes/intern/CMP_nodes/CMP_rgb.c

index a6ce77b64f080146acb8a4c13ce10f07f33580d8..36b7988c4e0a7c0a9bf91450561011ac658d996a 100644 (file)
@@ -45,7 +45,7 @@ static void node_composit_exec_rgb(void *UNUSED(data), bNode *node, bNodeStack *
 {
        bNodeSocket *sock= node->outputs.first;
        
-       VECCOPY(out[0]->vec, sock->ns.vec);
+       QUATCOPY(out[0]->vec, sock->ns.vec);
 }
 
 void register_node_type_cmp_rgb(ListBase *lb)