FIX: Some machine parameter won't update when opening custom presets

Jira: None
Change-Id: I70a76887ff91ba9196d370109cd1d5ccb2cad35e
(cherry picked from commit 49956263076d18589178abac1f9b310d6e465b4d)
This commit is contained in:
weiting.ji 2025-09-16 11:50:10 +08:00 committed by Noisyfox
parent c7b4a0b089
commit c8fac7158a

View file

@ -560,7 +560,7 @@ public:
if (diff_index[i] != -1) {
for (size_t j = 0; j < stride; j++)
{
if (!other->is_nil(diff_index[i]))
if (!other->is_nil(diff_index[i] * stride))
this->values[i * stride +j] = other->values[diff_index[i] * stride +j];
}
}