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:
Diffstat (limited to 'source/blender/nodes/NOD_geometry_exec.hh')
-rw-r--r--source/blender/nodes/NOD_geometry_exec.hh8
1 files changed, 2 insertions, 6 deletions
diff --git a/source/blender/nodes/NOD_geometry_exec.hh b/source/blender/nodes/NOD_geometry_exec.hh
index f225b3b94b2..2246cc29dc4 100644
--- a/source/blender/nodes/NOD_geometry_exec.hh
+++ b/source/blender/nodes/NOD_geometry_exec.hh
@@ -134,12 +134,8 @@ class GeoNodeExecParams {
}
template<typename T>
- static inline constexpr bool is_field_base_type_v = std::is_same_v<T, float> ||
- std::is_same_v<T, int> ||
- std::is_same_v<T, bool> ||
- std::is_same_v<T, ColorGeometry4f> ||
- std::is_same_v<T, float3> ||
- std::is_same_v<T, std::string>;
+ static inline constexpr bool is_field_base_type_v =
+ is_same_any_v<T, float, int, bool, ColorGeometry4f, float3, std::string>;
/**
* Get the input value for the input socket with the given identifier.