From 994e7178bba482aa48ea8d25a050818d2afaf115 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Fri, 23 Oct 2020 15:13:19 +0200 Subject: Geometry Nodes: make some function nodes available We might not want to have all those nodes in a final version. Some of them have been added with particle nodes in mind. However, to test the evaluation system it is useful to have a couple of nodes available. Those nodes should "just" work, because their implementation is reused from the particle nodes project. --- source/blender/nodes/function/nodes/node_fn_random_float.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/blender/nodes/function/nodes/node_fn_random_float.cc b/source/blender/nodes/function/nodes/node_fn_random_float.cc index 584c544946e..f3401a2c00d 100644 --- a/source/blender/nodes/function/nodes/node_fn_random_float.cc +++ b/source/blender/nodes/function/nodes/node_fn_random_float.cc @@ -21,7 +21,7 @@ static bNodeSocketTemplate fn_node_random_float_in[] = { {SOCK_FLOAT, N_("Min"), 0.0f, 0.0f, 0.0f, 0.0f, -10000.0f, 10000.0f, PROP_NONE}, {SOCK_FLOAT, N_("Max"), 1.0f, 0.0f, 0.0f, 0.0f, -10000.0f, 10000.0f, PROP_NONE}, - {SOCK_INT, N_("Seed")}, + {SOCK_INT, N_("Seed"), 0, 0, 0, 0, -10000, 10000}, {-1, ""}, }; -- cgit v1.2.3