mirror of
https://github.com/mob-sakai/UIEffect.git
synced 2026-11-21 02:12:37 +08:00
fix: changes were not correctly marked as dirty when loading presets
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user