mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 11:02:08 +00:00
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:
@@ -560,7 +560,7 @@ public:
|
|||||||
if (diff_index[i] != -1) {
|
if (diff_index[i] != -1) {
|
||||||
for (size_t j = 0; j < stride; j++)
|
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];
|
this->values[i * stride +j] = other->values[diff_index[i] * stride +j];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user