Cleanup: Silence unused function warning

Pull Request: https://projects.blender.org/blender/blender/pulls/140307
This commit is contained in:
Sean Kim
2025-06-12 22:12:00 +02:00
committed by Sean Kim
parent f77b1e871d
commit 858d767413

View File

@@ -7226,10 +7226,12 @@ void reset_translations_to_original(const MutableSpan<float3> translations,
}
}
#ifndef NDEBUG
static bool contains_nan(const Span<float> values)
{
return std::any_of(values.begin(), values.end(), [&](const float v) { return std::isnan(v); });
}
#endif
void apply_translations(const Span<float3> translations,
const Span<int> verts,