Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-10-23 16:13:19 +0300
committerJacques Lucke <jacques@blender.org>2020-10-23 16:13:19 +0300
commit994e7178bba482aa48ea8d25a050818d2afaf115 (patch)
treea6fcea9277738c4b4fb9b40515dbc08383e0bbe0 /source
parent17197430661c6accfe55bfbc756f9ee1beb95fc2 (diff)
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.
Diffstat (limited to 'source')
-rw-r--r--source/blender/nodes/function/nodes/node_fn_random_float.cc2
1 files changed, 1 insertions, 1 deletions
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, ""},
};