fix: changes were not correctly marked as dirty when loading presets

This commit is contained in:
mob-sakai
2025-03-28 19:57:22 +09:00
parent a7e826c4f9
commit 76be0fc860
+2
View File
@@ -1724,6 +1724,7 @@ namespace Coffee.UIEffects
m_DetailTexSpeed = preset.m_DetailTexSpeed; m_DetailTexSpeed = preset.m_DetailTexSpeed;
} }
Misc.SetDirty(this);
UpdateContext(context); UpdateContext(context);
SetVerticesDirty(); SetVerticesDirty();
SetMaterialDirty(); SetMaterialDirty();
@@ -1811,6 +1812,7 @@ namespace Coffee.UIEffects
m_DetailTexOffset = c.detailTexOffset; m_DetailTexOffset = c.detailTexOffset;
m_DetailTexSpeed = c.detailTexSpeed; m_DetailTexSpeed = c.detailTexSpeed;
Misc.SetDirty(this);
UpdateContext(context); UpdateContext(context);
SetVerticesDirty(); SetVerticesDirty();
SetMaterialDirty(); SetMaterialDirty();