forked from bartvdbraak/blender
svn merge -r39986:39990 https://svn.blender.org/svnroot/bf-blender/trunk/blender
This commit is contained in:
commit
1251441d08
@ -46,6 +46,8 @@ static void node_composit_init_value(bNodeTree *UNUSED(ntree), bNode *node, bNod
|
||||
bNodeSocketValueFloat *dval= (bNodeSocketValueFloat*)sock->default_value;
|
||||
/* uses the default value of the output socket, must be initialized here */
|
||||
dval->value = 0.5f;
|
||||
dval->min = -FLT_MAX;
|
||||
dval->max = FLT_MAX;
|
||||
}
|
||||
|
||||
static void node_composit_exec_value(void *UNUSED(data), bNode *node, bNodeStack **UNUSED(in), bNodeStack **out)
|
||||
|
@ -46,6 +46,8 @@ static void node_shader_init_value(bNodeTree *UNUSED(ntree), bNode *node, bNodeT
|
||||
bNodeSocketValueFloat *dval= (bNodeSocketValueFloat*)sock->default_value;
|
||||
/* uses the default value of the output socket, must be initialized here */
|
||||
dval->value = 0.5f;
|
||||
dval->min = -FLT_MAX;
|
||||
dval->max = FLT_MAX;
|
||||
}
|
||||
|
||||
static void node_shader_exec_value(void *UNUSED(data), bNode *node, bNodeStack **UNUSED(in), bNodeStack **out)
|
||||
|
Loading…
Reference in New Issue
Block a user