Fix problem with mare colors not resetting, reduce redraws again, use material texture instead of GPU.

This commit is contained in:
Ottermandias 2024-02-22 22:50:26 +01:00
parent d36e4f891b
commit 80a6e89aa5
8 changed files with 20 additions and 26 deletions

View file

@ -163,7 +163,7 @@ public partial class GlamourerIpc
if ((hasModelId || state.ModelData.ModelId == 0) && state.CanUnlock(lockCode))
{
_stateManager.ApplyDesign(state, design,
new ApplySettings(Source: once ? StateSource.IpcManual : StateSource.IpcFixed, Key: lockCode, MergeLinks: true));
new ApplySettings(Source: once ? StateSource.IpcManual : StateSource.IpcFixed, Key: lockCode, MergeLinks: true, ResetMaterials: !once && lockCode != 0));
state.Lock(lockCode);
}
}