Merge branch 'master' into dt-shmod

# Conflicts:
#	Penumbra/Communication/MtrlLoaded.cs
This commit is contained in:
Ottermandias 2024-08-07 15:45:24 +02:00
commit f0c034c84d
6 changed files with 93 additions and 44 deletions

View file

@ -37,7 +37,7 @@ public sealed unsafe class LiveColorTablePreviewer : LiveMaterialPreviewerBase
_originalColorTableTexture = new SafeTextureHandle(*_colorTableTexture, true);
if (_originalColorTableTexture == null)
if (_originalColorTableTexture.Texture == null)
throw new InvalidOperationException("Material doesn't have a color table");
Width = (int)_originalColorTableTexture.Texture->Width;