diff --git a/source/blender/nodes/geometry/nodes/node_geo_blur_attribute.cc b/source/blender/nodes/geometry/nodes/node_geo_blur_attribute.cc index 23c39748cf9..c2250019a30 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_blur_attribute.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_blur_attribute.cc @@ -278,11 +278,13 @@ static void blur_on_mesh(const Mesh &mesh, } attribute_math::convert_to_static_type(main_buffer.type(), [&](auto dummy) { using T = decltype(dummy); - blur_on_mesh_exec(neighbor_weights, - neighbors_map, - iterations, - main_buffer.typed(), - tmp_buffer.typed()); + if constexpr (!std::is_same_v) { + blur_on_mesh_exec(neighbor_weights, + neighbors_map, + iterations, + main_buffer.typed(), + tmp_buffer.typed()); + } }); } @@ -362,8 +364,10 @@ static void blur_on_curves(const bke::CurvesGeometry &curves, { attribute_math::convert_to_static_type(main_buffer.type(), [&](auto dummy) { using T = decltype(dummy); - blur_on_curve_exec( - curves, neighbor_weights, iterations, main_buffer.typed(), tmp_buffer.typed()); + if constexpr (!std::is_same_v) { + blur_on_curve_exec( + curves, neighbor_weights, iterations, main_buffer.typed(), tmp_buffer.typed()); + } }); }