Tomato: fix wrong default value for despill balance
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 10 Jul 2012 09:12:17 +0000 (09:12 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 10 Jul 2012 09:12:17 +0000 (09:12 +0000)
source/blender/nodes/composite/nodes/node_composite_keying.c

index f37c3686e2b2b682bea45b36609a30f369d107b4..f3074bc8ed37d7d46699cc895f5d31df040db871 100644 (file)
@@ -71,6 +71,7 @@ static void node_composit_init_keying(bNodeTree *UNUSED(ntree), bNode* node, bNo
        data = MEM_callocN(sizeof(NodeKeyingData), "node keying data");
 
        data->screen_balance = 0.5f;
+       data->despill_balance = 0.5f;
        data->despill_factor = 1.0f;
        data->edge_kernel_radius = 3;
        data->edge_kernel_tolerance = 0.1f;