Revert "[MultiVarStore] Micro-optimize"

This reverts commit 13d98f1ded.

This broke bots. I don't fully understand why tests pass locally.
This commit is contained in:
Behdad Esfahbod 2025-02-25 10:23:10 -07:00
parent 13d98f1ded
commit 827be1b23c

View file

@ -2576,12 +2576,6 @@ struct VarRegionList
for (unsigned int i = 0; i < count; i++)
{
int coord = i < coord_len ? coords[i] : 0;
if (coord == 0)
{
if (cache)
*cached_value = 0.f;
return 0.f;
}
float factor = axes[i].evaluate (coord);
if (factor == 0.f)
{