mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-02-17 04:57:43 +01:00
Fix problem with mare colors not resetting, reduce redraws again, use material texture instead of GPU.
This commit is contained in:
parent
d36e4f891b
commit
80a6e89aa5
8 changed files with 20 additions and 26 deletions
|
|
@ -296,6 +296,9 @@ public class StateEditor(
|
|||
Editor.ChangeMetaState(state, meta, mergedDesign.Design.DesignData.GetMeta(meta), Source(meta), out _, settings.Key);
|
||||
}
|
||||
|
||||
if (settings.ResetMaterials)
|
||||
state.Materials.Clear();
|
||||
|
||||
foreach (var (key, value) in mergedDesign.Design.Materials)
|
||||
{
|
||||
if (!value.Enabled)
|
||||
|
|
@ -321,8 +324,6 @@ public class StateEditor(
|
|||
settings.Source, out _, settings.Key);
|
||||
}
|
||||
}
|
||||
|
||||
requiresRedraw |= mergedDesign.Design.Materials.Count > 0 && settings.Source.IsIpc();
|
||||
}
|
||||
|
||||
var actors = settings.Source.RequiresChange()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue