Use Legacy Color Tables because our materials do not have DT ones yet.

This commit is contained in:
Ottermandias 2024-05-27 17:42:49 +02:00
parent 93dcd317c1
commit 1341c4316c
12 changed files with 55 additions and 54 deletions

View file

@ -6,7 +6,7 @@ using Glamourer.State;
using OtterGui.Services;
using Penumbra.GameData.Actors;
using Penumbra.GameData.Enums;
using Penumbra.GameData.Files;
using Penumbra.GameData.Files.MaterialStructs;
using Penumbra.GameData.Interop;
using Penumbra.GameData.Structs;
@ -76,7 +76,7 @@ public sealed unsafe class MaterialManager : IRequiredService, IDisposable
/// <summary> Update and apply the glamourer state of an actor according to the application sources when updated by the game. </summary>
private void UpdateMaterialValues(ActorState state, ReadOnlySpan<(uint Key, MaterialValueState Value)> values, CharacterWeapon drawData,
ref MtrlFile.ColorTable colorTable)
ref LegacyColorTable colorTable)
{
var deleteList = _deleteList.Value!;
deleteList.Clear();