mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-01-03 06:13:45 +01:00
Merge branch 'master' into dt-shmod
# Conflicts: # Penumbra/Communication/MtrlLoaded.cs
This commit is contained in:
commit
f0c034c84d
6 changed files with 93 additions and 44 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue