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
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-07-16 14:25:57 +0300
committerJacques Lucke <jacques@blender.org>2020-07-16 14:26:20 +0300
commit83955d6769da8d1a50e2fe1fc03d5ab9d93420e2 (patch)
treea9ba3894a069d1b6ce3b89c376c02ba24e90a476 /source/blender/blenkernel
parent99fda4d31e16a2c39726125f9470ec2a20a2c0bb (diff)
Particles: support Map Range node
Only linear interpolation mode is supported for now.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/BKE_node_tree_multi_function.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_node_tree_multi_function.hh b/source/blender/blenkernel/BKE_node_tree_multi_function.hh
index 95a6c61da7f..7219eb1726a 100644
--- a/source/blender/blenkernel/BKE_node_tree_multi_function.hh
+++ b/source/blender/blenkernel/BKE_node_tree_multi_function.hh
@@ -348,6 +348,11 @@ class NodeMFNetworkBuilder : public MFNetworkBuilderBase {
const fn::MultiFunction &get_default_fn(StringRef name);
+ const void set_not_implemented()
+ {
+ this->set_matching_fn(this->get_not_implemented_fn());
+ }
+
/**
* Tells the builder that the given function corresponds to the node that is being built. It will
* try to match up sockets. For that it skips unavailable and non-data sockets.