mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Mtrl editor: Fix texture pinning
This commit is contained in:
parent
fe5d1bc36e
commit
1d517103b3
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ public partial class MtrlTab
|
|||
foreach (var textureId in TextureIds)
|
||||
{
|
||||
var shpkTexture = _associatedShpk.GetTextureById(textureId);
|
||||
if (shpkTexture is not { Slot: 2 })
|
||||
if (shpkTexture is not { Slot: 2 } && (shpkTexture is not null || textureId == TableSamplerId))
|
||||
continue;
|
||||
|
||||
var dkData = TryGetShpkDevkitData<DevkitSampler>("Samplers", textureId, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue