diff options
author | Jacques Lucke <jacques@blender.org> | 2021-11-26 20:00:52 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-11-26 20:01:59 +0300 |
commit | 97465046c6bb43647a34d9fbbf33b784c0c2604d (patch) | |
tree | d1c597d5d63f86e1b0c030c04cc7b9057112a6d4 /source/blender/nodes/NOD_geometry_exec.hh | |
parent | 92daff6ac2adb5bb8c42933063e42fa77823c61f (diff) |
Geometry Nodes: add utility to set remaining outputs
Differential Revision: https://developer.blender.org/D13384
Diffstat (limited to 'source/blender/nodes/NOD_geometry_exec.hh')
-rw-r--r-- | source/blender/nodes/NOD_geometry_exec.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/nodes/NOD_geometry_exec.hh b/source/blender/nodes/NOD_geometry_exec.hh index 6b6e8a89240..f15f5abcb4e 100644 --- a/source/blender/nodes/NOD_geometry_exec.hh +++ b/source/blender/nodes/NOD_geometry_exec.hh @@ -118,6 +118,8 @@ class GeoNodeExecParamsProvider { virtual bool output_is_required(StringRef identifier) const = 0; virtual bool lazy_require_input(StringRef identifier) = 0; virtual bool lazy_output_is_required(StringRef identifier) const = 0; + + virtual void set_default_remaining_outputs() = 0; }; class GeoNodeExecParams { @@ -357,6 +359,8 @@ class GeoNodeExecParams { std::string attribute_producer_name() const; + void set_default_remaining_outputs(); + private: /* Utilities for detecting common errors at when using this class. */ void check_input_access(StringRef identifier, const CPPType *requested_type = nullptr) const; |