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>2022-06-03 14:51:05 +0300
committerJacques Lucke <jacques@blender.org>2022-06-03 14:51:05 +0300
commit6b84465352edebcc204d578221501073b7fa06d1 (patch)
tree982f569fa7e7a1a85f0930ce84555fe1d698063a /source/blender/nodes/NOD_geometry_exec.hh
parent0a2a8d702ad28016eb73819dfd2be1b26f1cf05b (diff)
Cleanup: remove dead code
Diffstat (limited to 'source/blender/nodes/NOD_geometry_exec.hh')
-rw-r--r--source/blender/nodes/NOD_geometry_exec.hh41
1 files changed, 0 insertions, 41 deletions
diff --git a/source/blender/nodes/NOD_geometry_exec.hh b/source/blender/nodes/NOD_geometry_exec.hh
index 8ffa9d978a8..b82c05f33be 100644
--- a/source/blender/nodes/NOD_geometry_exec.hh
+++ b/source/blender/nodes/NOD_geometry_exec.hh
@@ -298,47 +298,6 @@ class GeoNodeExecParams {
*/
void error_message_add(const NodeWarningType type, std::string message) const;
- /**
- * Creates a read-only attribute based on node inputs. The method automatically detects which
- * input socket with the given name is available.
- *
- * \note This will add an error message if the string socket is active and
- * the input attribute does not exist.
- */
- GVArray get_input_attribute(const StringRef name,
- const GeometryComponent &component,
- eAttrDomain domain,
- eCustomDataType type,
- const void *default_value) const;
-
- template<typename T>
- VArray<T> get_input_attribute(const StringRef name,
- const GeometryComponent &component,
- const eAttrDomain domain,
- const T &default_value) const
- {
- const eCustomDataType type = bke::cpp_type_to_custom_data_type(CPPType::get<T>());
- GVArray varray = this->get_input_attribute(name, component, domain, type, &default_value);
- return varray.typed<T>();
- }
-
- /**
- * Get the type of an input property or the associated constant socket types with the
- * same names. Fall back to the default value if no attribute exists with the name.
- */
- eCustomDataType get_input_attribute_data_type(const StringRef name,
- const GeometryComponent &component,
- eCustomDataType default_type) const;
-
- /**
- * If any of the corresponding input sockets are attributes instead of single values,
- * use the highest priority attribute domain from among them.
- * Otherwise return the default domain.
- */
- eAttrDomain get_highest_priority_input_domain(Span<std::string> names,
- const GeometryComponent &component,
- eAttrDomain default_domain) const;
-
std::string attribute_producer_name() const;
void set_default_remaining_outputs();