Cleanup: Silence unused function warning
Pull Request: https://projects.blender.org/blender/blender/pulls/140307
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user