diff options
Diffstat (limited to 'source/blender/blenkernel/intern/attribute_access.cc')
-rw-r--r-- | source/blender/blenkernel/intern/attribute_access.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/attribute_access.cc b/source/blender/blenkernel/intern/attribute_access.cc index 91b5b01e3eb..2ab0b6ce531 100644 --- a/source/blender/blenkernel/intern/attribute_access.cc +++ b/source/blender/blenkernel/intern/attribute_access.cc @@ -299,7 +299,7 @@ static int attribute_data_type_complexity(const CustomDataType data_type) #endif default: /* Only accept "generic" custom data types used by the attribute system. */ - BLI_assert(false); + BLI_assert_unreachable(); return 0; } } @@ -341,7 +341,7 @@ static int attribute_domain_priority(const AttributeDomain domain) return 4; default: /* Domain not supported in nodes yet. */ - BLI_assert(false); + BLI_assert_unreachable(); return 0; } } @@ -703,7 +703,7 @@ bool GeometryComponent::attribute_domain_supported(const AttributeDomain domain) int GeometryComponent::attribute_domain_size(const AttributeDomain UNUSED(domain)) const { - BLI_assert(false); + BLI_assert_unreachable(); return 0; } |