mirror of
https://github.com/mob-sakai/UIEffect.git
synced 2026-11-19 17:22: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;
|
||||
}
|
||||
|
||||
Misc.SetDirty(this);
|
||||
UpdateContext(context);
|
||||
SetVerticesDirty();
|
||||
SetMaterialDirty();
|
||||
@@ -1811,6 +1812,7 @@ namespace Coffee.UIEffects
|
||||
m_DetailTexOffset = c.detailTexOffset;
|
||||
m_DetailTexSpeed = c.detailTexSpeed;
|
||||
|
||||
Misc.SetDirty(this);
|
||||
UpdateContext(context);
|
||||
SetVerticesDirty();
|
||||
SetMaterialDirty();
|
||||
|
||||
Reference in New Issue
Block a user